共用方式為


AvatarDescription Constructor

Creates a new instance of AvatarDescription using an existing data buffer.

Syntax

'Declaration
Public Sub New ( _
         data As Byte() _
)
public AvatarDescription (
         byte[] data
)
public:
AvatarDescription(
         unsigned char data[]
)

Parameters

  • 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.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

See Also

Reference

AvatarDescription Class
AvatarDescription Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone