Click or drag to resize

RenderPrimitive Methods

The RenderPrimitive type exposes the following members.

Methods
  NameDescription
Public methodDispose
Protected methodDispose(Boolean)
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