Submesh Methods |
The Submesh type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Releases all resources used by an instance of the Submesh class.
| |
Dispose(Boolean) |
Releases the unmanaged resources used by an instance of the Submesh class
and optionally releases the managed resources.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Draw |
Draws the Submesh using the currently active shader.
(Defined by MeshHelper.) | |
GetMaterial |
Gets the material of a submesh.
(Defined by MeshHelper.) | |
SetMaterial |
Sets the material for a submesh.
(Defined by MeshHelper.) | |
ToTriangleMesh | Overloaded.
Creates a TriangleMesh from a Submesh.
(Defined by MeshHelper.) | |
ToTriangleMesh(TriangleMesh) | Overloaded.
Adds the triangles from the specified Submesh to a
TriangleMesh.
(Defined by MeshHelper.) |