Share via


AvatarDescription.CreateRandom Method (AvatarBodyType)

Creates an avatar of the specified body type with random features and clothing.

Syntax

'Declaration
Public Shared Function CreateRandom ( _
         bodyType As AvatarBodyType _
) As AvatarDescription 
public static AvatarDescription CreateRandom (
         AvatarBodyType bodyType
)
public:
static AvatarDescription CreateRandom(
         AvatarBodyType bodyType
)

Parameters

  • bodyType
    Type: AvatarBodyType
    Body type of the randomly-created avatar.

Return Value

Type: AvatarDescription
Description of the created avatar.

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