Condividi tramite


Mesh Members

Manipulates mesh objects.

The following tables list the members exposed by the Mesh type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework Mesh Initializes a new instance of the Mesh class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Device  Gets the device associated with a mesh.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework Disposed  Gets a value indicating whether all resources used by the BaseMesh have been released.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework IndexBuffer  Gets the data in an index buffer.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework NumberAttributes  Gets the number of entries stored in an attribute table for a mesh.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework NumberFaces  Gets the number of faces in a mesh.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework NumberVertices  Gets the number of vertices in a mesh.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework Options  Gets the mesh options enabled for the current mesh at creation time.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework VertexBuffer  Gets the vertex buffer of a mesh.(inherited from BaseMesh)
Public property Supported by the .NET Compact Framework VertexFormat  Gets the vertex format that describes the contents of vertices.(inherited from BaseMesh)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Static Supported by the .NET Compact Framework Box Uses a left-handed coordinate system to create a mesh that contains an axis-aligned box.
Public method Supported by the .NET Compact Framework Clone  Clones, or copies, a mesh object. (inherited from BaseMesh)
Public method Supported by the .NET Compact Framework ConvertAdjacencyToPointReps  Converts mesh adjacency information to an array of point representatives. (inherited from BaseMesh)
Public method Supported by the .NET Compact Framework ConvertPointRepsToAdjacency  Converts point representative data to mesh adjacency information. (inherited from BaseMesh)
Public method Static Supported by the .NET Compact Framework Cylinder Uses a left-handed coordinate system to create a mesh that contains a cylinder.
Public method Supported by the .NET Compact Framework Dispose Overridden. Releases all resources used by the Mesh.
Public method Supported by the .NET Compact Framework DrawSubset  Draws a subset of a mesh. (inherited from BaseMesh)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GenerateAdjacency  Generates adjacency information based on mesh indices. (inherited from BaseMesh)
Public method Supported by the .NET Compact Framework GetAttributeTable  Retrieves an attribute table for a mesh. (inherited from BaseMesh)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework LockAttributeBuffer Locks an attribute buffer and obtains its memory.
Public method Supported by the .NET Compact Framework LockAttributeBufferArray Locks an attribute buffer and obtains its memory.
Public method Supported by the .NET Compact Framework Optimize Overloaded. Controls the reordering of mesh faces and vertices to optimize performance and generate an output mesh.
Public method Supported by the .NET Compact Framework OptimizeInPlace Overloaded. Controls the reordering of mesh faces and vertices to optimize performance.
Public method Static Supported by the .NET Compact Framework Polygon Uses a left-handed coordinate system to create a mesh that contains an n-sided polygon.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework SetAttributeTable Sets a mesh's attribute table and specifies the number of entries stored in it.
Public method Static Supported by the .NET Compact Framework Sphere Uses a left-handed coordinate system to create a mesh that contains a sphere.
Public method Static Supported by the .NET Compact Framework Torus Uses a left-handed coordinate system to create a mesh that contains a torus.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework UnlockAttributeBuffer Overloaded. Releases the attribute buffer.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize Overridden.  
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

Public Events

  Name Description
Public event Supported by the .NET Compact Framework 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

Other Resources

Direct3D Programming