RhinoCommon API
ObjectAttributesMaterialRefs Property |
If you are developing a high quality plug-in renderer, and a user is
assigning a custom render material to this object, then add rendering
material information to the MaterialRefs dictionary.
Note to developers:
As soon as the MaterialRefs dictionary contains items rendering
material queries slow down. Do not populate the MaterialRefs
dictionary when setting the MaterialIndex will take care of your needs.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.10

public MaterialRefs MaterialRefs { get; }
Public ReadOnly Property MaterialRefs As MaterialRefs Get
Property Value
Type: MaterialRefs