Click or drag to resize
DigitalRuneSubmesh Methods

The Submesh type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases all resources used by an instance of the Submesh class.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by an instance of the Submesh class and optionally releases the managed resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodDraw
Draws the Submesh using the currently active shader.
(Defined by MeshHelper.)
Public Extension MethodGetMaterial
Gets the material of a submesh.
(Defined by MeshHelper.)
Public Extension MethodSetMaterial
Sets the material for a submesh.
(Defined by MeshHelper.)
Public Extension MethodToTriangleMeshOverloaded.
Creates a TriangleMesh from a Submesh.
(Defined by MeshHelper.)
Public Extension MethodToTriangleMesh(TriangleMesh)Overloaded.
Adds the triangles from the specified Submesh to a TriangleMesh.
(Defined by MeshHelper.)
Top
See Also