Bagikan melalui


GameDefaults.PrimaryColor Property

Gets the preferred color for the player character.

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

Syntax

public Nullable<Color> PrimaryColor { get; }

Property Value

The preferred color for the player character.

Remarks

Bb975862.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

On Windows Phone this property is always null.

See Also

Reference

SignedInGamer.GameDefaults Property
GameDefaults Class
GameDefaults Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP