Provides access to player settings and functionality. More...
Classes | |
class | PlayerCore |
class | WaitUntilPlayerConnected |
Suspends coroutine execution until the provided player has connected. More... | |
Static Public Member Functions | |
static bool | IsConnected (PlayerIndex playerIndex) |
Determines whether the specified player has an associated pair of glasses connected. More... | |
static bool | TryGetFriendlyName (PlayerIndex playerIndex, out string friendlyName) |
Attempts to get the friendly name assigned to the specified player's glasses. More... | |
static bool | TryGetSettings (PlayerIndex playerIndex, out PlayerSettings playerSettings) |
Obtains the PlayerSettings corresponding to the specified player. More... | |
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 48 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 60 of file Player.cs.
References TiltFive.Singleton< Player >.Instance.
|
static |
Obtains the PlayerSettings corresponding to the specified player.
playerIndex | |
playerSettings |
Definition at line 79 of file Player.cs.
References TiltFive.TiltFiveSingletonHelper.TryGetISceneInfo(), and TiltFive.TiltFiveManager2.TryGetPlayerSettings().
Referenced by TiltFive.GameBoard.InverseTransformPoint(), TiltFive.GameBoard.InverseTransformPose(), TiltFive.GameBoard.TransformPoint(), and TiltFive.GameBoard.TransformPose().
|
private |