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. More... | |
abstract void | SetPoseGameboardSpace (in TState state, TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
Sets the pose values of the tracked object in Unity World Space More... | |
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. More... | |
abstract void | SetPoseUnityWorldSpace (ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
Sets the pose values of the tracked object in Unity World Space More... | |
abstract bool | TryCheckConnected (out bool connected) |
Determines whether the tracked object is still connected. More... | |
abstract bool | TryGetStateFromPlugin (out TState state, out bool poseIsValid, GameBoardSettings gameboardSettings) |
Gets the latest pose for the tracked object from the native plugin. More... | |
abstract void | SetDrivenObjectTransform (TSettings settings, ScaleSettings scaleSettings, GameBoardSettings gameboardSettings) |
Sets the pose of the object(s) being driven by TrackableCore. More... | |
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. More... | |
Properties | |
Pose | Pose_GameboardSpace [get] |
The pose of the trackable w.r.t. the gameboard reference frame. More... | |
Pose | Pose_UnityWorldSpace [get] |
The Pose of the trackable in Unity world space. More... | |
bool | IsTracked [get] |
Whether or not the trackable is being tracked. More... | |
bool | IsConnected [get] |
Whether or not the trackable is connected. More... | |
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.currentGameBoard, TiltFive.GameBoardSettings.gameBoardCenter, TiltFive.GameBoardSettings.gameBoardScale, TiltFive.ScaleSettings.GetScaleToUWRLD_UGBD(), and TiltFive.UniformScaleTransform.rotation.
|
staticprotected |
Definition at line 140 of file TrackableCore.cs.
References TiltFive.GameBoardSettings.currentGameBoard, and TiltFive.UniformScaleTransform.rotation.
|
staticprotected |
|
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.Wand.WandCore, and TiltFive.Glasses.BaseGlassesCore.
Referenced by TiltFive.TrackableCore< TSettings, TState >.Update().
|
protectedpure virtual |
Determines whether the tracked object is still connected.
connected |
Implemented in TiltFive.Wand.WandCore, and TiltFive.Glasses.BaseGlassesCore.
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 |
|
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 |