SkinInformation.GetMaxFaceInfluences Method

Language:

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(
    IndexBufferindexBuffer,
    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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center