Provides access to player settings and functionality. More...
Classes | |
| class | PlayerCore |
Static Public Member Functions | |
| static bool | IsConnected (PlayerIndex playerIndex) |
| Determines whether the specified player has an associated pair of glasses connected. | |
| static bool | TryGetFriendlyName (PlayerIndex playerIndex, out string friendlyName) |
| Attempts to get the friendly name assigned to the specified player's glasses. | |
Private Attributes | |
| Dictionary< PlayerIndex, PlayerCore > | players = new Dictionary<PlayerIndex, PlayerCore>() |
Additional Inherited Members | |
Protected Member Functions inherited from TiltFive.Singleton< Player > | |
| Singleton () | |
Properties inherited from TiltFive.Singleton< Player > | |
| static T | Instance [get] |
|
static |
Determines whether the specified player has an associated pair of glasses connected.
| playerIndex |
Definition at line 32 of file Player.cs.
References TiltFive.Singleton< Player >.Instance.
Referenced by TiltFive.Display.GetGlassesAvailability(), TiltFive.SplitStereoCamera.OnRenderImage(), and TiltFive.Glasses.GlassesCore.Update().
|
static |
Attempts to get the friendly name assigned to the specified player's glasses.
| playerIndex | |
| friendlyName |
Definition at line 44 of file Player.cs.
References TiltFive.Singleton< Player >.Instance.
|
private |