Represents the game board. More...
Classes | |
| struct | GameboardDimensions |
Static Public Member Functions | |
| static bool | TryGetGameboardType (out GameboardType gameboardType) |
| Attempts to check the latest glasses pose for the current gameboard type, such as LE, XE, or none. | |
| static bool | TryGetGameboardType (PlayerIndex playerIndex, out GameboardType gameboardType) |
| static bool | TryGetGameboardDimensions (GameboardType gameboardType, out GameboardDimensions gameboardDimensions) |
| Attempts to obtain the physical dimensions for a particular gameboard type. | |
Public Attributes | |
| bool | ShowGizmo |
| Shows the game board gizmo in the editor. | |
| bool | ShowGrid |
| float | GridHeightOffset = 0f |
| bool | StickyHeightOffset = true |
| float | GizmoOpacity = 0.75f |
| Sets the opacity of the game board gizmo in the editor. | |
| GameboardType | GameboardType |
| The gameboard configuration, such as LE, XE, or folded XE. | |
Static Private Attributes | |
| static Dictionary< PlayerIndex, GameboardType > | playerGameboards = new Dictionary<PlayerIndex, GameboardType>() |
Additional Inherited Members | |
Public Member Functions inherited from TiltFive.UniformScaleTransform | |
| void | Awake () |
Protected Member Functions inherited from TiltFive.UniformScaleTransform | |
| void | UnifyScale () |
| Synchronizes the component values of the game object's local scale vector (e.g. [1,2,3] becomes [3,3,3]). | |
Properties inherited from TiltFive.UniformScaleTransform | |
| float | localScale [get, set] |
| The size of the object as a single float value, rather than a scale vector. | |
| Vector3 | position [get, set] |
| The position vector for the associated transform. | |
| Quaternion | rotation [get, set] |
| The rotation vector for the associated transform. | |
Represents the game board.
Definition at line 28 of file GameBoard.cs.
|
static |
Attempts to obtain the physical dimensions for a particular gameboard type.
| gameboardType | |
| gameboardDimensions |
Definition at line 155 of file GameBoard.cs.
References TiltFive.Logging.Log.Error(), and TiltFive.NativePlugin.GetGameboardDimensions().
|
static |
Attempts to check the latest glasses pose for the current gameboard type, such as LE, XE, or none.
| gameboardType | Output gameboard type. Contains GameboardType.GameboardType_None if no pose was provided, which can happen if the user looks away and the head tracking camera loses sight of the gameboard. |
Definition at line 130 of file GameBoard.cs.
References TiltFive.GameBoard.TryGetGameboardType().
Referenced by TiltFive.GameBoard.TryGetGameboardType().
|
static |
Definition at line 135 of file GameBoard.cs.
References TiltFive.GameBoard.playerGameboards.
| GameboardType TiltFive.GameBoard.GameboardType |
The gameboard configuration, such as LE, XE, or folded XE.
Definition at line 57 of file GameBoard.cs.
| float TiltFive.GameBoard.GizmoOpacity = 0.75f |
Sets the opacity of the game board gizmo in the editor.
Definition at line 50 of file GameBoard.cs.
| float TiltFive.GameBoard.GridHeightOffset = 0f |
Definition at line 41 of file GameBoard.cs.
|
staticprivate |
Definition at line 95 of file GameBoard.cs.
Referenced by TiltFive.GameBoard.TryGetGameboardType().
| bool TiltFive.GameBoard.ShowGizmo |
Shows the game board gizmo in the editor.
Definition at line 36 of file GameBoard.cs.
| bool TiltFive.GameBoard.ShowGrid |
Definition at line 39 of file GameBoard.cs.
| bool TiltFive.GameBoard.StickyHeightOffset = true |
Definition at line 42 of file GameBoard.cs.