Skip to main content
Version: 2.0.0

Haply::Inverse::Unity::VerseGripCursor

Inherits from Haply.Inverse.Unity.CursorBehaviour, MonoBehaviour

Protected Functions

Name
virtual override voidUpdateCursor()
Updates the cursor every frame. This is called automatically from FixedUpdate.

Public Attributes

Name
booluseDeviceLocalSpace

Additional inherited members

Protected Functions inherited from Haply.Inverse.Unity.CursorBehaviour

Name
virtual GameObjectGetModelPrefab()
Gets the prefab that should be instantiated upon startup.
virtual voidAwake()
See MonoBehaviour.
voidFixedUpdate()
See MonoBehaviour.

Public Properties inherited from Haply.Inverse.Unity.CursorBehaviour

Name
DeviceBehaviourDevice
Device that controls the cursor.
boolIsDeviceSet
Indicates whether the Device has been set.
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 Functions Documentation

function UpdateCursor

virtual override void UpdateCursor()

Updates the cursor every frame. This is called automatically from FixedUpdate.

Reimplements: Haply::Inverse::Unity::CursorBehaviour::UpdateCursor

Public Attributes Documentation

variable useDeviceLocalSpace

bool useDeviceLocalSpace;