Click or drag to resize

RenderPrimitive Class

[Missing <summary> documentation for "T:Rhino.Render.RenderPrimitive"]

Inheritance Hierarchy
SystemObject
  Rhino.RenderRenderPrimitive

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class RenderPrimitive : IDisposable

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
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
Methods
  NameDescription
Public methodDispose
Releases all resources used by the RenderPrimitive
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the RenderPrimitive and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMesh
Returns the mesh associated with the object, this will mesh primitives and always return a mesh.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetBox
Call this method to get a Box primitive for this mesh. If this meshes PrimitiveType is not a Box then the box parameter is set to Empty.
Public methodTryGetCone
Call this method to get a Cone primitive for this mesh. If this meshes PrimitiveType is not a Cone then the cone parameter is set to Unset and the truncation parameter is set to Unset.
Public methodTryGetPlane
Call this method to get a Plane primitive for this mesh. If this meshes PrimitiveType is not a Plane then the plane parameter is set to null.
Public methodTryGetSphere
Call this method to get a sphere primitive for this mesh. If this meshes PrimitiveType is not a Sphere then the sphere parameter is set to Unset.
Top
See Also