PlayerIndex Enumeration

Specifies the game controller associated with a player.

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

public enum PlayerIndex

 Member nameDescription
OneThe first controller.
TwoThe second controller.
ThreeThe third controller.
FourThe fourth controller.

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

Community Additions

ADD
Show: