PlayerIndex Enumeration (Microsoft.Xna.Framework)

Defines the index of player for various MonoGame components.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public enum PlayerIndex

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The PlayerIndex type exposes the following members.

  Platforms Name Description
Four The fourth player index. 
One The first player index. 
Three The third player index. 
Two The second player index. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web