Language

SkinInformation.SkinInformation(Int32,VertexElement[],Int32) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the SkinInformation class.

Definition

Visual Basic Public Sub New( _
    ByVal numVertices As Integer, _
    ByVal decl() As VertexElement, _
    ByVal numBones As Integer _
)
C# public SkinInformation(
    int numVertices,
    VertexElement[] decl,
    int numBones
);
C++ public:
 SkinInformation(
    int numVertices,
    array<VertexElement>^ decl,
    int numBones
);
JScript public function SkinInformation(
    numVertices : int,
    decl : VertexElement[],
    numBones : int
);

Parameters

numVertices System.Int32
Value that represents the number of vertices in the skin mesh.
decl Microsoft.DirectX.Direct3D.VertexElement[]
Array of VertexElement objects that describe the vertex format for the skin mesh.
numBones System.Int32
Value that represents the number of bones for the skin mesh.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.