Call this method to get the render material associated with the mesh at
the specified index. Will return null if there is no
material associated with the requested mesh.
RhinoCommon (in RhinoCommon.dll)
public RenderMaterial Material(
Public Function Material (
index As Integer
) As RenderMaterial
- Type: SystemInt32
The zero based index of the item in the list. Valid values are greater
than or equal to 0 and less than Count.
If there is a render material associated at the requested index then
the material is returned otherwise null is returned.