SkinnedEffect.SetBoneTransforms Method

Sets an array of bone transform matrices for a SkinnedEffect.

Syntax

'Declaration
Public Sub SetBoneTransforms ( _
         boneTransforms As Matrix() _
)
public void SetBoneTransforms (
         Matrix[] boneTransforms
)
public:
void SetBoneTransforms(
         Matrix boneTransforms[]
)

Parameters

  • boneTransforms
    Type: Matrix
    An array of bone transformation matrices; the maximum number of bones (matrices) allowed is 72.

Exceptions

Exception type Condition
ArgumentException The number of matrices in boneTransforms exceeds the maximum number allowed.
ArgumentNullException The boneTransforms parameter is null.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

SkinnedEffect Class
SkinnedEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone