Description:

Call this method to see if there are any RenderMaterials associated with the meshes. Each primitive can optionally have a RenderMaterial associated with it, if the RenderMaterial is None then check for a RhinoObject.RenderMaterial.

Syntax:
public RenderMaterial[] ToMaterialArray()
deprecated in 8.0
Returns:
Return an array that of the same size as the ToMeshArray() containing the RenderMaterial associated with the mesh, may contain None entries if there is no RenderMaterial associated with the custom mesh.
Available since:
5.7

ToMaterialArray method

Class:  Rhino.Render.RenderPrimitiveList

Nothing found