Mesh Members
Manipulates mesh objects.
The following tables list the members exposed by the Mesh type.
Public Constructors
Name | Description | |
---|---|---|
![]() ![]() |
Mesh | Initializes a new instance of the Mesh class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
Device | Gets the device associated with a mesh.(Inherited from BaseMesh.) |
![]() ![]() |
Disposed | Releases all resources used by the BaseMesh. (Inherited from BaseMesh.) |
![]() ![]() |
IndexBuffer | Gets the data in an index buffer.(Inherited from BaseMesh.) |
![]() ![]() |
NumberAttributes | Gets the number of entries stored in an attribute table for a mesh.(Inherited from BaseMesh.) |
![]() ![]() |
NumberFaces | Gets the number of faces in a mesh.(Inherited from BaseMesh.) |
![]() ![]() |
NumberVertices | Gets the number of vertices in a mesh.(Inherited from BaseMesh.) |
![]() ![]() |
Options | Gets the mesh options enabled for the current mesh at creation time.(Inherited from BaseMesh.) |
![]() ![]() |
VertexBuffer | Gets the vertex buffer of a mesh.(Inherited from BaseMesh.) |
![]() ![]() |
VertexFormat | Gets the vertex format that describes the contents of vertices.(Inherited from BaseMesh.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() ![]() ![]() |
Box | Uses a left-handed coordinate system to create a mesh that contains an axis-aligned box. |
![]() ![]() |
Clone | Clones, or copies, a mesh object. (Inherited from BaseMesh.) |
![]() ![]() |
ConvertAdjacencyToPointReps | Converts mesh adjacency information to an array of point representatives. (Inherited from BaseMesh.) |
![]() ![]() |
ConvertPointRepsToAdjacency | Converts point representative data to mesh adjacency information. (Inherited from BaseMesh.) |
![]() ![]() ![]() |
Cylinder | Uses a left-handed coordinate system to create a mesh that contains a cylinder. |
![]() ![]() |
Dispose | Overridden. Releases all resources used by the Mesh. |
![]() ![]() |
DrawSubset | Draws a subset of a mesh. (Inherited from BaseMesh.) |
![]() ![]() |
Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
![]() ![]() |
GenerateAdjacency | Generates adjacency information based on mesh indices. (Inherited from BaseMesh.) |
![]() ![]() |
GetAttributeTable | Retrieves an attribute table for a mesh. (Inherited from BaseMesh.) |
![]() ![]() |
GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() ![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
LockAttributeBuffer | Locks an attribute buffer and obtains its memory. |
![]() ![]() |
LockAttributeBufferArray | Locks an attribute buffer and obtains its memory. |
![]() ![]() |
Optimize | Overloaded. Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh. |
![]() ![]() |
OptimizeInPlace | Overloaded. Controls the reordering of mesh faces and vertices to optimize performance. |
![]() ![]() ![]() |
Polygon | Uses a left-handed coordinate system to create a mesh that contains an n-sided polygon. |
![]() ![]() ![]() |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
![]() ![]() |
SetAttributeTable | Sets a mesh's attribute table and specifies the number of entries stored in it. |
![]() ![]() ![]() |
Sphere | Uses a left-handed coordinate system to create a mesh that contains a sphere. |
![]() ![]() ![]() |
Torus | Uses a left-handed coordinate system to create a mesh that contains a torus. |
![]() ![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() ![]() |
UnlockAttributeBuffer | Overloaded. Releases the attribute buffer. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() ![]() |
Finalize | Overridden. |
![]() ![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Top
Public Events
Name | Description | |
---|---|---|
![]() ![]() |
Disposing | Occurs when the Dispose method is called or when the BaseMesh object is finalized and collected by the garbage collector.(Inherited from BaseMesh.) |
Top
See Also
Reference
Mesh Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace