AvatarRenderer Constructor (AvatarDescription, Boolean)

Creates a new instance of AvatarRenderer with the specified description. The standard loading effect can also be requested. This effect is animated, indicating that the avatar currently is loading.

Figure 1.  Avatar loading effect

Dd940261.Avatar_loading_effect(en-us,XNAGameStudio.42).jpg

Syntax

'Declaration
Public Sub New ( _
         avatarDescription As AvatarDescription, _
         useLoadingEffect As Boolean _
)
public AvatarRenderer (
         AvatarDescription avatarDescription,
         bool useLoadingEffect
)
public:
AvatarRenderer(
         AvatarDescription avatarDescription,
         bool useLoadingEffect
)

Parameters

  • avatarDescription
    Type: AvatarDescription
    Description of the avatar to be rendered.
  • useLoadingEffect
    Type: Boolean
    true if the standard effect is to be used during loading; otherwise, false.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

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

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone