Holoboard Basic SDK
v1.4
Software Development Kit for developing applications on smartphones for Holoboard (www.myholo.io)
|
Holoboard controller class. More...
Public Member Functions | |
void | ResetControllerOrientation () |
Resets the controller coordinate system. More... | |
void | ControllerStateUpdate (string msg) |
This is an internal function. The native plugin communicates with this to relay Controller connection states More... | |
void | InitiateConnection () |
Use this to initiate connection with the Holoboard Controller. More... | |
void | CloseConnection () |
Closes the connection to the controller More... | |
CONTROLLER_STATE | GetControllerState () |
Gets the T:TesseractBasic.CONTROLLER_STATE. More... | |
CONTROLLER_BUTTON | GetControllerButton () |
Gets the pressed T:TesseractBasic.CONTROLLER_BUTTON. More... | |
Vector2 | GetTouchPositionOnTouchPad () |
Gets the touch position on touch pad. More... | |
bool | GetIsTouchingPad () |
Whether the trackpad is touching More... | |
Quaternion | GetControllerOrientation () |
Gets the controller's current orientation. More... | |
Static Public Attributes | |
static HoloboardController | Instance = null |
Singleton instance of the class More... | |
Properties | |
CONTROLLER_STATE | ControllerState [get] |
Gets the state of the Controller. More... | |
CONTROLLER_BUTTON | ControllerButtonActive [get] |
Gets the currently active T:TesseractBasic.CONTROLLER_BUTTON More... | |
bool | TouchpadTouching [get] |
Gets a value indicating whether the touchpad is being touched. More... | |
Vector2 | TouchpadPosition [get] |
Gets the touchpad position. More... | |
Quaternion | ControllerOrientation [get] |
Gets the controller's current orientation. More... | |
Holoboard controller class.
void TesseractBasic.HoloboardController.CloseConnection | ( | ) |
Closes the connection to the controller
void TesseractBasic.HoloboardController.ControllerStateUpdate | ( | string | msg | ) |
This is an internal function. The native plugin communicates with this to relay Controller connection states
msg | message containing the connection state from the native plugin |
CONTROLLER_BUTTON TesseractBasic.HoloboardController.GetControllerButton | ( | ) |
Gets the pressed T:TesseractBasic.CONTROLLER_BUTTON.
Quaternion TesseractBasic.HoloboardController.GetControllerOrientation | ( | ) |
Gets the controller's current orientation.
CONTROLLER_STATE TesseractBasic.HoloboardController.GetControllerState | ( | ) |
Gets the T:TesseractBasic.CONTROLLER_STATE.
bool TesseractBasic.HoloboardController.GetIsTouchingPad | ( | ) |
Whether the trackpad is touching
true
, if is trackpad is being touched, false
otherwise.Vector2 TesseractBasic.HoloboardController.GetTouchPositionOnTouchPad | ( | ) |
Gets the touch position on touch pad.
void TesseractBasic.HoloboardController.InitiateConnection | ( | ) |
Use this to initiate connection with the Holoboard Controller.
void TesseractBasic.HoloboardController.ResetControllerOrientation | ( | ) |
Resets the controller coordinate system.
|
static |
Singleton instance of the class
|
get |
Gets the currently active T:TesseractBasic.CONTROLLER_BUTTON
The currently active T:TesseractBasic.CONTROLLER_BUTTON.
|
get |
Gets the controller's current orientation.
The controller orientation in 3D space.
|
get |
Gets the state of the Controller.
The T:TesseractBasic.CONTROLLER_STATE of the connection.
|
get |
Gets the touchpad position.
The touchpad position.
|
get |
Gets a value indicating whether the touchpad is being touched.
true
if touchpad touching; otherwise, false
.