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)
Syntaxpublic MaterialRefs MaterialRefs { get; }
Public ReadOnly Property MaterialRefs As MaterialRefs
Get
Property Value
Type:
MaterialRefs
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.12
See Also