Model.CopyBoneTransformsFrom Method

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

Syntax

'Declaration
Public Sub CopyBoneTransformsFrom ( _
         sourceBoneTransforms As Matrix() _
)
public void CopyBoneTransformsFrom (
         Matrix[] sourceBoneTransforms
)
public:
void CopyBoneTransformsFrom(
         Matrix sourceBoneTransforms[]
)

Parameters

  • sourceBoneTransforms
    Type: Matrix
    An array containing new bone transforms.

Exceptions

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

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone