Holoboard Basic SDK
v1.4
Software Development Kit for developing applications on smartphones for Holoboard (www.myholo.io)
|
This component is reponsible for camera pose tracking and steroe rendering, along with maintaining system states. More...
Public Member Functions | |
void | Recenter () |
Use this function to recenter the head orientation so that it faces the transform set by RecenterPoint More... | |
void | SetRecenterPoint (Transform recenterPoint) |
Use this function to set the recenter Transform More... | |
void | EnableHeadTracking () |
Enables the head tracking. More... | |
void | DisableHeadTracking () |
Disables the head tracking. More... | |
void | CloseApplication () |
Closes the application. More... | |
bool | GetHeadTrackingState () |
Gets the state of the head tracking. More... | |
Vector2 | GetGazePointOnScreen () |
Gets the gaze point on screen that can be used for Raycasting. More... | |
Camera | GetRayCastCamera () |
Gets the ray cast camera that can be used for Raycasting More... | |
Transform | GetHeadTransform () |
Gets the head transform. More... | |
GameObject | GetHeadGameObject () |
Gets the head game object. More... | |
Ray | GetRayFromGaze () |
Gets the ray from gaze. More... | |
void | StartCalibration () |
Use this function to tell the system that you want to initiate IPD calibration. This is only required if you are designing your own custom calibration routine. DO NOT call this if you are using the default IPDCalibration Prefab provided with this package. Instead call IPDCalibration.BeginIPDCalibration . More... | |
void | IncreaseIPD (float increment=-1) |
Increase IPD or Eye Separation by increment factor More... | |
void | DecreaseIPD (float increment=-1) |
Decrease IPD or Eye Separation by increment factor More... | |
void | StopIPDCalibration () |
Completes the IPD calibration. Use this ONLY if you have a custom calibration UI. You should disable any custom calibration UI that you used with StartCalibration here. DO NOT call this if you are using the default IPDCalibration Prefab provided with this package. Instead call IPDCalibration.EndIPDCalibration . More... | |
bool | IsHybridTrackingEnabled () |
Is hybrid tracking enabled. More... | |
bool | IsThirdPartySDKInUse () |
Is any third party SDK in use. More... | |
Public Attributes | |
string | APIKey |
Developer API Key corresponding to a particular Bundle ID. More... | |
Static Public Attributes | |
static ARCamera | Instance = null |
Singleton Instance of ARCamera More... | |
This component is reponsible for camera pose tracking and steroe rendering, along with maintaining system states.
void TesseractBasic.ARCamera.CloseApplication | ( | ) |
Closes the application.
void TesseractBasic.ARCamera.DecreaseIPD | ( | float | increment = -1 | ) |
Decrease IPD or Eye Separation by increment factor
increment | Factor to decrease the IPD with. Default is 0.01 if no argument is provided (optional) |
void TesseractBasic.ARCamera.DisableHeadTracking | ( | ) |
Disables the head tracking.
void TesseractBasic.ARCamera.EnableHeadTracking | ( | ) |
Enables the head tracking.
Vector2 TesseractBasic.ARCamera.GetGazePointOnScreen | ( | ) |
Gets the gaze point on screen that can be used for Raycasting.
GameObject TesseractBasic.ARCamera.GetHeadGameObject | ( | ) |
Gets the head game object.
bool TesseractBasic.ARCamera.GetHeadTrackingState | ( | ) |
Gets the state of the head tracking.
true
, if head tracking is ON, false
otherwise.Transform TesseractBasic.ARCamera.GetHeadTransform | ( | ) |
Gets the head transform.
Camera TesseractBasic.ARCamera.GetRayCastCamera | ( | ) |
Gets the ray cast camera that can be used for Raycasting
Ray TesseractBasic.ARCamera.GetRayFromGaze | ( | ) |
Gets the ray from gaze.
void TesseractBasic.ARCamera.IncreaseIPD | ( | float | increment = -1 | ) |
Increase IPD or Eye Separation by increment factor
increment | Factor to increase the IPD with. Default is 0.01 if no argument is provided. |
bool TesseractBasic.ARCamera.IsHybridTrackingEnabled | ( | ) |
Is hybrid tracking enabled.
true
, if hybrid tracking enabled was ised, false
otherwise.bool TesseractBasic.ARCamera.IsThirdPartySDKInUse | ( | ) |
Is any third party SDK in use.
true
, if third party SDKI n use was ised, false
otherwise.void TesseractBasic.ARCamera.Recenter | ( | ) |
Use this function to recenter the head orientation so that it faces the transform set by RecenterPoint
void TesseractBasic.ARCamera.SetRecenterPoint | ( | Transform | recenterPoint | ) |
Use this function to set the recenter Transform
void TesseractBasic.ARCamera.StartCalibration | ( | ) |
Use this function to tell the system that you want to initiate IPD calibration. This is only required if you are designing your own custom calibration routine. DO NOT call this if you are using the default IPDCalibration Prefab provided with this package. Instead call IPDCalibration.BeginIPDCalibration .
void TesseractBasic.ARCamera.StopIPDCalibration | ( | ) |
Completes the IPD calibration. Use this ONLY if you have a custom calibration UI. You should disable any custom calibration UI that you used with StartCalibration here. DO NOT call this if you are using the default IPDCalibration Prefab provided with this package. Instead call IPDCalibration.EndIPDCalibration .
string TesseractBasic.ARCamera.APIKey |
Developer API Key corresponding to a particular Bundle ID.