RhinoCommon API
RenderPrimitivePrimitiveType Property |
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.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
public RenderPrimitiveType PrimitiveType { get; }
Public ReadOnly Property PrimitiveType As RenderPrimitiveType Get