DisplayPipelineSetupDisplayMaterial Method (RhinoDoc, RhinoObject, ObjectAttributes, Transform) |
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,
Transform instanceTransform
)
Public Function SetupDisplayMaterial (
doc As RhinoDoc,
rhinoObject As RhinoObject,
attributes As ObjectAttributes,
instanceTransform As Transform
) As DisplayMaterial
Parameters
- doc
- Type: RhinoRhinoDoc
The active document. - rhinoObject
- Type: Rhino.DocObjectsRhinoObject
The Rhino object. - attributes
- Type: Rhino.DocObjectsObjectAttributes
The object attributes. - instanceTransform
- Type: Rhino.GeometryTransform
The instance object transformation.
Return Value
Type:
DisplayMaterialA display material if successful, null otherwise.
See Also