AddMaterial

 

Hi!

Was anybody successful with calling of AddMaterial method for MaterialTable?

I only know name and density so I expected something like

 object[] varPropsList = newobject[1];varPropsList.SetValue((object)density, 0);materialTable.AddMaterial(materialName, 1, (object)varPropsList, null, null, null);

 

 

but it doen't work.

Thank's for any hint.

Jara

 

 

 

 

 

 

 

 

Posted by: Jara Ctverak
Post date: 2/20/2009 1:42:26 AM