ModelBone.Transform Property
Gets or sets the matrix used to transform this bone relative to its parent bone.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Matrix Transform { get; set; }
Property Value
The matrix used to transform this bone relative only to its parent bone.
Remarks
Warning
Please note that the transform described by Transform does not describe the cumulative relationship of each mesh relative to all of its parent meshes in a Model, just the immediate parent of the mesh. For this information, please see CopyAbsoluteBoneTransformsTo.
For a demonstration of how to use the transforms for the parent bones of a model mesh to set the position of the mesh parts, please see How to: Render a Model.
See Also
Tasks
Reference
Model.CopyAbsoluteBoneTransformsTo Method
ModelBone Class
ModelBone Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista