RenderPrimitive Properties

RenderPrimitive Properties

The RenderPrimitive type exposes the following members.

Properties
  NameDescription
Public propertyBoundingBox
The bounding box for this primitive.
Public propertyInstanceTransform
Instance reference transform or Identity if not an instance reference.
Public propertyPrimitiveType
Call this before extracting meshes if you support render primitives to get the RenderPrimitiveType of this mesh then call the associated TryGetSphere(Sphere), TryGetPlane(PlaneSurface), TryGetCone(Cone, Plane), or TryGetBox(Box) method. Calling the Mesh property will mesh the primitive and return a mesh always.
Public propertyRenderMaterial
The RenderMaterial associated with this mesh or null if there is not one.
Public propertyRhinoObject
The Rhino object associated with this render primitive.
Top
See Also