Bagikan melalui


AvatarRenderer Members

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

Public Constructors

Name Description
Public Method AvatarRenderer Overloaded. Creates a new instance of AvatarRenderer.

Public Fields

Name Description
Public Field BoneCount Number of bones in the avatar model.

Public Properties

Name Description
Public Property AmbientLightColor Gets or sets the color of the ambient light used by the avatar renderer.
Public Property BindPose Gets the collection of bind pose positions for each bone of the avatar model.
Public Property IsDisposed Gets the disposed state of the avatar renderer.
Public Property LightColor Gets or sets the color of the directional light used by the avatar renderer.
Public Property LightDirection Gets or sets the direction of the directional light used by the avatar renderer.
Public Property ParentBones Collection of the parent indices for each bone in the related BindPose collection.
Public Property Projection Gets or sets the projection matrix for the avatar.
Public Property State Gets the state of the avatar.
Public Property View Gets or sets the view matrix for the avatar.
Public Property World Gets or sets the world matrix for the avatar.

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Draw Overloaded. Draws the avatar to the current render target.
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 Allows the avatar renderer to attempt to free resources and perform other cleanup operations before garbage collection reclaims the renderer.
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

AvatarRenderer Class
Microsoft.Xna.Framework.GamerServices Namespace