Language

SkinInformation.GetMaxFaceInfluences(IndexBuffer,Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the maximum face influences in a triangle mesh with the specified index buffer.

Definition

Visual Basic Public Function GetMaxFaceInfluences( _
    ByVal indexBuffer As IndexBuffer, _
    ByVal numFaces As Integer _
) As Integer
C# public int GetMaxFaceInfluences(
    IndexBuffer indexBuffer,
    int numFaces
);
C++ public:
int GetMaxFaceInfluences(
    IndexBuffer^ indexBuffer,
    int numFaces
);
JScript public function GetMaxFaceInfluences(
    indexBuffer : IndexBuffer,
    numFaces : int
) : int;

Parameters

indexBuffer Microsoft.DirectX.Direct3D.IndexBuffer
An IndexBuffer object that contains the mesh index data.
numFaces System.Int32
Value that represents the number of faces in the mesh.

Return Value

System.Int32
Value that contains the maximum face influences.

Remarks

Exceptions

InvalidCallException

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