Protected Member Functions | |
| void | Reset (TSettings settings) |
| virtual void | Update (TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| abstract void | SetDefaultPoseGameboardSpace (TSettings settings) |
| Gets the default pose of the tracked object. | |
| abstract void | SetPoseGameboardSpace (in TState state, TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| Sets the pose values of the tracked object in Unity World Space. | |
| abstract void | SetInvalidPoseGameboardSpace (in TState state, TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| Sets the pose values of the tracked object in Unity World Space when we already know the pose is invalid. | |
| abstract void | SetPoseUnityWorldSpace (ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| Sets the pose values of the tracked object in Unity World Space. | |
| abstract bool | TryCheckConnected (out bool connected) |
| Determines whether the tracked object is still connected. | |
| abstract bool | TryGetStateFromPlugin (out TState state, out bool poseIsValid, GameBoardSettings gameboardSettings) |
| Gets the latest pose for the tracked object from the native plugin. | |
| abstract void | SetDrivenObjectTransform (TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| Sets the pose of the object(s) being driven by TrackableCore. | |
Static Protected Member Functions | |
| static Vector3 | ConvertPosGBDToUGBD (Vector3 pos_GBD) |
| static Pose | GameboardToWorldSpace (Pose pose_GameboardSpace, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| static Vector3 | GameboardToWorldSpace (Vector3 pos_UGBD, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| static Vector3 | WorldToGameboardSpace (Vector3 pos_UWRLD, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
| static Quaternion | GameboardToWorldSpace (Quaternion rotToUGBD_OBJ, GameBoardSettings gameboardSettings) |
| static Quaternion | WorldToGameboardSpace (Quaternion rotToUWRLD_OBJ, GameBoardSettings gameboardSettings) |
Protected Attributes | |
| Pose | pose_UGBD |
| Pose | pose_UWRLD |
| bool | isTracked = false |
| bool | isConnected = false |
| Pose | gameboardPos_UWRLD |
| The pose of the gameboard reference frame w.r.t. the Unity world-space reference frame. | |
Properties | |
| Pose | Pose_GameboardSpace [get] |
| The pose of the trackable w.r.t. the gameboard reference frame. | |
| Pose | Pose_UnityWorldSpace [get] |
| The Pose of the trackable in Unity world space. | |
| bool | IsTracked [get] |
| Whether or not the trackable is being tracked. | |
| bool | IsConnected [get] |
| Whether or not the trackable is connected. | |
| TSettings | : | TrackableSettings |
Definition at line 22 of file TrackableCore.cs.
|
staticprotected |
Definition at line 99 of file TrackableCore.cs.
|
staticprotected |
Definition at line 106 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.gameBoardCenter, TiltFive.GameBoardSettings.gameBoardScale, TiltFive.TrackableCore< TSettings, TState >.GameboardToWorldSpace(), and TiltFive.ScaleSettings.GetScaleToUWRLD_UGBD().
Referenced by TiltFive.TrackableCore< TSettings, TState >.GameboardToWorldSpace().
|
staticprotected |
Definition at line 140 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.currentGameBoard, and TiltFive.UniformScaleTransform.rotation.
|
staticprotected |
Definition at line 119 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.gameBoardCenter, TiltFive.GameBoardSettings.gameBoardScale, and TiltFive.ScaleSettings.GetScaleToUWRLD_UGBD().
|
protected |
Definition at line 61 of file TrackableCore.cs.
References TiltFive.TrackableCore< TSettings, TState >.isTracked, and TiltFive.TrackableCore< TSettings, TState >.SetDefaultPoseGameboardSpace().
|
protectedpure virtual |
Gets the default pose of the tracked object.
| settings |
Referenced by TiltFive.TrackableCore< TSettings, TState >.Reset().
|
protectedpure virtual |
Sets the pose of the object(s) being driven by TrackableCore.
| settings | |
| scaleSettings | |
| gameboardSettings |
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Sets the pose values of the tracked object in Unity World Space when we already know the pose is invalid.
| state | |
| settings | |
| scaleSettings | |
| gameboardSettings |
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Sets the pose values of the tracked object in Unity World Space.
| state | |
| settings | |
| scaleSettings | |
| gameboardSettings |
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Sets the pose values of the tracked object in Unity World Space.
| scaleSettings | |
| gameboardSettings |
Implemented in TiltFive.Glasses.BaseGlassesCore, and TiltFive.Wand.WandCore.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Determines whether the tracked object is still connected.
| connected |
Implemented in TiltFive.Glasses.BaseGlassesCore, and TiltFive.Wand.WandCore.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Gets the latest pose for the tracked object from the native plugin.
| state | |
| poseIsValid | |
| gameboardSettings |
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedvirtual |
Definition at line 68 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.currentGameBoard, TiltFive.Logging.Log.Error(), TiltFive.GameBoardSettings.gameBoardCenter, TiltFive.TrackableCore< TSettings, TState >.gameboardPos_UWRLD, TiltFive.TrackableCore< TSettings, TState >.isConnected, TiltFive.TrackableCore< TSettings, TState >.isTracked, TiltFive.UniformScaleTransform.rotation, TiltFive.TrackableCore< TSettings, TState >.SetDrivenObjectTransform(), TiltFive.TrackableCore< TSettings, TState >.SetInvalidPoseGameboardSpace(), TiltFive.TrackableCore< TSettings, TState >.SetPoseGameboardSpace(), TiltFive.TrackableCore< TSettings, TState >.SetPoseUnityWorldSpace(), TiltFive.TrackableCore< TSettings, TState >.TryCheckConnected(), and TiltFive.TrackableCore< TSettings, TState >.TryGetStateFromPlugin().
|
staticprotected |
Definition at line 148 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.currentGameBoard, and TiltFive.UniformScaleTransform.rotation.
|
staticprotected |
Definition at line 128 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.currentGameBoard, TiltFive.GameBoardSettings.gameBoardCenter, TiltFive.GameBoardSettings.gameBoardScale, TiltFive.ScaleSettings.GetScaleToUWRLD_UGBD(), and TiltFive.UniformScaleTransform.rotation.
|
protected |
The pose of the gameboard reference frame w.r.t. the Unity world-space reference frame.
Definition at line 54 of file TrackableCore.cs.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protected |
Definition at line 48 of file TrackableCore.cs.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protected |
Definition at line 42 of file TrackableCore.cs.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Reset(), and TiltFive.TrackableCore< TSettings, TState >.Update().
|
protected |
Definition at line 30 of file TrackableCore.cs.
|
protected |
Definition at line 36 of file TrackableCore.cs.
|
get |
|
get |
|
get |
The pose of the trackable w.r.t. the gameboard reference frame.
Definition at line 29 of file TrackableCore.cs.
|
get |