DisplayPipelineSetupDisplayMaterial Method (RhinoDoc, RhinoObject, ObjectAttributes) |
Sets up a display material.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public DisplayMaterial SetupDisplayMaterial(
RhinoDoc doc,
RhinoObject rhinoObject,
ObjectAttributes attributes
)
Public Function SetupDisplayMaterial (
doc As RhinoDoc,
rhinoObject As RhinoObject,
attributes As ObjectAttributes
) As DisplayMaterial
Parameters
- doc
- Type: RhinoRhinoDoc
The active document. - rhinoObject
- Type: Rhino.DocObjectsRhinoObject
The Rhino object. - attributes
- Type: Rhino.DocObjectsObjectAttributes
The object attributes.
Return Value
Type:
DisplayMaterialA display material if successful, null otherwise.
See Also