Bagikan melalui


AvatarDescription Class

Provides access to the methods and properties of the description data for an avatar.

Dd940214.note(en-us,XNAGameStudio.41).gifWindows Specific Information
Avatar-related APIs are exposed on Windows to ease cross-platform development between Windows and the Xbox 360. All avatar-related methods return default values, and rendering methods do not draw anything to the screen.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.Avatar (in microsoft.xna.framework.avatar.dll)

Syntax

public class AvatarDescription

Remarks

The AvatarDescription object contains an internal data buffer used by the avatar renderer when loading and animating a gamer's avatar. There are also methods for getting the height and gender of the avatar.

AvatarDescription also provides a number of methods that you can use to create a new random AvatarDescription object or to retrieve one from an existing avatar description buffer.

See Also

Reference

AvatarDescription Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP