Model.CopyBoneTransformsFrom Method

Copies an array of transforms into each bone in the model.

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

Syntax

public void CopyBoneTransformsFrom (
         Matrix[] sourceBoneTransforms
)

Parameters

  • sourceBoneTransforms
    An array containing new bone transforms.

Exceptions

Exception type Condition
ArgumentNullException sourceBoneTransforms is null.
ArgumentOutOfRangeException sourceBoneTransforms is not the same size as Bones

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista