Skip to main content
Version: 2.2.0

Haply::Inverse::Unity::HapticOrigin

Manages the scaling of haptic workspace while maintaining the size of cursor models. More...

Inherits from MonoBehaviour

Protected Functions​

Name
voidReset()
voidAwake()
voidUpdate()

Public Properties​

Name
floatUniformScale
Change uniform scale of the haptic workspace while keeping cursor sizes constant.
floatscale
boolAutoSaveInspectorScale

Public Attributes​

Name
boollockGizmos

Detailed Description​

class Haply::Inverse::Unity::HapticOrigin;

Manages the scaling of haptic workspace while maintaining the size of cursor models.

This component should be attached to the GameObject representing the haptic origin.

Protected Functions Documentation​

function Reset​

void Reset()

function Awake​

void Awake()

function Update​

void Update()

Public Property Documentation​

property UniformScale​

float UniformScale;

Change uniform scale of the haptic workspace while keeping cursor sizes constant.

property scale​

float scale;

property AutoSaveInspectorScale​

bool AutoSaveInspectorScale = true;

Public Attributes Documentation​

variable lockGizmos​

bool lockGizmos;