AvatarDescription.IsValid Property
Determines whether the internal data buffer is valid.
Windows 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)
Syntax
public bool IsValid { get; }
Property Value
true if the related AvatarDescription object contains a valid avatar description, usable by an AvatarRenderer object; otherwise, false.
IsValid always returns false on Windows because currently there is no Windows-based avatar implementation.
Remarks
This property is provided only as a quick verification method for developers that receive an AvatarDescription object from the XNA framework. For example, a value of false could indicate that the user does not have an avatar.
See Also
Reference
AvatarDescription Class
AvatarDescription Members
AvatarDescription
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP