Skip to main content
Version: 2.1.1

Haply::Inverse::Unity::VerseGripCursor

Inherits from Haply.Inverse.Unity.CursorBehaviour, MonoBehaviour

Protected Functions

Name
override voidUpdateCursor()

Public Attributes

Name
booluseDeviceLocalSpace

Additional inherited members

Protected Functions inherited from Haply.Inverse.Unity.CursorBehaviour

Name
virtual voidAddDeviceListeners()
Adds listeners to the device.
virtual voidRemoveDeviceListeners()
Removes listeners from the device.
virtual GameObjectGetModelPrefab()
Gets the prefab that should be instantiated upon startup.
virtual voidAwake()
virtual voidOnEnable()
voidUpdate()
voidFixedUpdate()

Public Properties inherited from Haply.Inverse.Unity.CursorBehaviour

Name
DeviceBehaviourDevice
Device that controls the cursor.
TransformModelPrefab
The prefab of a cursor model to show for this cursor that this behaviour automatically instantiates.
TransformModelParent
The transform that this behaviour uses as the parent for the model prefab when it is instantiated.
TransformModel
The instance of the cursor model in the scene.
boolHideControllerModel
Whether to hide the cursor model.
floatRadius
Gets the Model radius.

Protected Properties inherited from Haply.Inverse.Unity.CursorBehaviour

Name
boolIsDeviceSet
Indicates whether the Device has been set.
boolIsUpdateCursorRequired
Indicates whether the UpdateCursor must be called on next FixedUpdate call.

Protected Functions Documentation

function UpdateCursor

override void UpdateCursor()

Public Attributes Documentation

variable useDeviceLocalSpace

bool useDeviceLocalSpace;