Holoboard Basic SDK  v1.4
Software Development Kit for developing applications on smartphones for Holoboard (www.myholo.io)
TesseractBasic.HoloboardController Class Reference

Holoboard controller class. More...

Inheritance diagram for TesseractBasic.HoloboardController:

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...
 

Detailed Description

Holoboard controller class.

Member Function Documentation

◆ CloseConnection()

void TesseractBasic.HoloboardController.CloseConnection ( )

Closes the connection to the controller

◆ ControllerStateUpdate()

void TesseractBasic.HoloboardController.ControllerStateUpdate ( string  msg)

This is an internal function. The native plugin communicates with this to relay Controller connection states

Parameters
msgmessage containing the connection state from the native plugin

◆ GetControllerButton()

CONTROLLER_BUTTON TesseractBasic.HoloboardController.GetControllerButton ( )

Gets the pressed T:TesseractBasic.CONTROLLER_BUTTON.

Returns
The T:TesseractBasic.CONTROLLER_BUTTON being pressed

◆ GetControllerOrientation()

Quaternion TesseractBasic.HoloboardController.GetControllerOrientation ( )

Gets the controller's current orientation.

Returns
The controller orientation.

◆ GetControllerState()

CONTROLLER_STATE TesseractBasic.HoloboardController.GetControllerState ( )

Gets the T:TesseractBasic.CONTROLLER_STATE.

Returns
The T:TesseractBasic.CONTROLLER_STATE.

◆ GetIsTouchingPad()

bool TesseractBasic.HoloboardController.GetIsTouchingPad ( )

Whether the trackpad is touching

Returns
true, if is trackpad is being touched, false otherwise.

◆ GetTouchPositionOnTouchPad()

Vector2 TesseractBasic.HoloboardController.GetTouchPositionOnTouchPad ( )

Gets the touch position on touch pad.

Returns
The touch position on touch pad.

◆ InitiateConnection()

void TesseractBasic.HoloboardController.InitiateConnection ( )

Use this to initiate connection with the Holoboard Controller.

◆ ResetControllerOrientation()

void TesseractBasic.HoloboardController.ResetControllerOrientation ( )

Resets the controller coordinate system.

Member Data Documentation

◆ Instance

HoloboardController TesseractBasic.HoloboardController.Instance = null
static

Singleton instance of the class

Property Documentation

◆ ControllerButtonActive

CONTROLLER_BUTTON TesseractBasic.HoloboardController.ControllerButtonActive
get

Gets the currently active T:TesseractBasic.CONTROLLER_BUTTON

The currently active T:TesseractBasic.CONTROLLER_BUTTON.

◆ ControllerOrientation

Quaternion TesseractBasic.HoloboardController.ControllerOrientation
get

Gets the controller's current orientation.

The controller orientation in 3D space.

◆ ControllerState

CONTROLLER_STATE TesseractBasic.HoloboardController.ControllerState
get

Gets the state of the Controller.

The T:TesseractBasic.CONTROLLER_STATE of the connection.

◆ TouchpadPosition

Vector2 TesseractBasic.HoloboardController.TouchpadPosition
get

Gets the touchpad position.

The touchpad position.

◆ TouchpadTouching

bool TesseractBasic.HoloboardController.TouchpadTouching
get

Gets a value indicating whether the touchpad is being touched.

true if touchpad touching; otherwise, false.


The documentation for this class was generated from the following file: