Share via


SkinnedEffect.SetBoneTransforms Method

Sets an array of bone transform matrices for a SkinnedEffect.

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

Syntax

public void SetBoneTransforms (
         Matrix[] boneTransforms
)

Parameters

  • boneTransforms
    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.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7