![]() |
Tilt Five Unity SDK 1.4.2
|
The Wand API and runtime. More...
Classes | |
| class | WaitUntilWandConnected |
| Suspends coroutine execution until the provided player's wand has connected. More... | |
Static Public Member Functions | |
| static Vector3 | GetPosition (ControllerIndex controllerIndex=ControllerIndex.Right, ControllerPosition controllerPosition=ControllerPosition.Grip, PlayerIndex playerIndex=PlayerIndex.One) |
| Gets the position of the wand in world space. | |
| static Quaternion | GetRotation (ControllerIndex controllerIndex=ControllerIndex.Right, PlayerIndex playerIndex=PlayerIndex.One) |
| Gets the rotation of the wand in world space. | |
| static bool | IsTracked (ControllerIndex controllerIndex=ControllerIndex.Right, PlayerIndex playerIndex=PlayerIndex.One) |
| static bool | TryCheckConnected (out bool connected, PlayerIndex playerIndex, ControllerIndex controllerIndex=ControllerIndex.Right) |
| Gets the connection status of the indicated wand. | |
| static bool | TrySendImpulse (float amplitude, float duration, PlayerIndex playerIndex=PlayerIndex.One, ControllerIndex controllerIndex=ControllerIndex.Right) |
| Try to send a haptics impulse to the specified wand. | |
| static void | Update (WandSettings wandSettings, ScaleSettings scaleSettings, GameBoardSettings gameBoardSettings, PlayerIndex playerIndex=PlayerIndex.One) |
| static void | ScanForWands () |
Additional Inherited Members | |
| Protected Member Functions inherited from TiltFive.Singleton< T > | |
| Singleton () | |
| Properties inherited from TiltFive.Singleton< T > | |
| static T | Instance [get] |
The Wand API and runtime.
|
inlinestatic |
Gets the position of the wand in world space.
| controllerIndex | |
| controllerPosition | |
| glassesHandle | The specified glasses. If null is provided, this uses the default glasses. |
|
inlinestatic |
Gets the rotation of the wand in world space.
| controllerIndex | |
| glassesHandle | The specified glasses. If null is provided, this uses the default glasses. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Gets the connection status of the indicated wand.
| connected | |
| playerIndex | |
| controllerIndex |
|
inlinestatic |
Try to send a haptics impulse to the specified wand.
| amplitude | The amplitude of the impulse, between [0.0,1.0]. |
| duration | The duration of the impulse, between 0.0 and 0.320 s. |
| playerIndex | |
| controllerIndex |
|
inlinestatic |