메소드 | 설명 | |
---|---|---|
CopyAbsoluteBoneTransformsTo ( Matrix destinationBoneTransforms ) : void |
Copies bone transforms relative to all parent bones of the each bone from this model to a given array.
|
|
CopyBoneTransformsFrom ( Matrix sourceBoneTransforms ) : void |
Copies bone transforms relative to Model.Root bone from a given array to this model.
|
|
CopyBoneTransformsTo ( Matrix destinationBoneTransforms ) : void |
Copies bone transforms relative to Model.Root bone from this model to a given array.
|
|
Draw ( Matrix world, Matrix view, Matrix projection ) : void |
Draws the model meshes.
|
|
Model ( GraphicsDevice graphicsDevice, List |
Constructs a model.
|
메소드 | 설명 | |
---|---|---|
BuildHierarchy ( ) : void | ||
BuildHierarchy ( Microsoft.Xna.Framework.Graphics.ModelBone node, Matrix parentTransform, int level ) : void | ||
Model ( ) : System |
public CopyAbsoluteBoneTransformsTo ( Matrix destinationBoneTransforms ) : void | ||
destinationBoneTransforms | Matrix | The array receiving the transformed bones. |
리턴 | void |
public CopyBoneTransformsFrom ( Matrix sourceBoneTransforms ) : void | ||
sourceBoneTransforms | Matrix | The array of prepared bone transform data. |
리턴 | void |
public CopyBoneTransformsTo ( Matrix destinationBoneTransforms ) : void | ||
destinationBoneTransforms | Matrix | The array receiving the transformed bones. |
리턴 | void |
public Draw ( Matrix world, Matrix view, Matrix projection ) : void | ||
world | Matrix | The world transform. |
view | Matrix | The view transform. |
projection | Matrix | The projection transform. |
리턴 | void |
public Model ( GraphicsDevice graphicsDevice, List |
||
graphicsDevice | GraphicsDevice | A valid reference to |
bones | List |
The collection of bones. |
meshes | List |
The collection of meshes. |
리턴 | System |