Model Members

The following tables list the members exposed by the Model type.

Public Properties

Name Description
Public Property Bones Gets a collection of ModelBone objects which describe how each mesh in the Meshes collection for this model relates to its parent mesh.
Public Property Meshes Gets a collection of ModelMesh objects which compose the model. Each ModelMesh in a model may be moved independently and may be composed of multiple materials identified as ModelMeshPart objects.
Public Property Root Gets the root bone for this model.
Public Property Tag Gets or sets an object identifying this model.

Public Methods

Name Description
Public Method CopyAbsoluteBoneTransformsTo Copies a transform of each bone in a model relative to all parent bones of the bone into a given array.
Public Method CopyBoneTransformsFrom Copies an array of transforms into each bone in the model.
Public Method CopyBoneTransformsTo Copies each bone transform relative only to the parent bone of the model to a given array.
Public Method Draw Render a model after applying the matrix transformations.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Model Class
Microsoft.Xna.Framework.Graphics Namespace