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.

Dd940261.note(en-us,XNAGameStudio.40).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.

Figure 1.  Avatar loading effect

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

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

Syntax

public AvatarRenderer (
         AvatarDescription avatarDescription,
         bool useLoadingEffect
)

Parameters

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

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP