AvatarDescription Constructor

Creates a new instance of AvatarDescription using an existing data buffer.
Dd940258.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)

public AvatarDescription (
         byte[] data


Type: Byte

Existing buffer used to store the information of the newly-created avatar.

Use the buffer specified by the Description property of a valid AvatarDescription object. Common scenarios include the recreation of random avatars that were created earlier or when avatar decription data is sent over a network to all signed-in gamers. Once that data is received, local avatar descriptions and renderers are created for each remote gamer avatar.

Results are undefined if buffers from other sources are used.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions