ObjectAttributes.MaterialIndex Property

ObjectAttributesMaterialIndex Property

Gets or sets the material index.

If you want something simple and fast, set the index of the rendering material.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int MaterialIndex { get; set; }
Public Property MaterialIndex As Integer
	Get
	Set

Property Value

Type: Int32
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also