Haply::Inverse::Unity::VerseGripCursor
Inherits from Haply.Inverse.Unity.CursorBehaviour, MonoBehaviour
Protected Functions
| Name | |
|---|---|
| virtual override void | UpdateCursor() Updates the cursor every frame. This is called automatically from FixedUpdate. |
Public Attributes
| Name | |
|---|---|
| bool | useDeviceLocalSpace |
Additional inherited members
Protected Functions inherited from Haply.Inverse.Unity.CursorBehaviour
| Name | |
|---|---|
| virtual GameObject | GetModelPrefab() Gets the prefab that should be instantiated upon startup. |
| virtual void | Awake() See MonoBehaviour. |
| void | FixedUpdate() See MonoBehaviour. |
Public Properties inherited from Haply.Inverse.Unity.CursorBehaviour
| Name | |
|---|---|
| DeviceBehaviour | Device Device that controls the cursor. |
| bool | IsDeviceSet Indicates whether the Device has been set. |
| Transform | ModelPrefab The prefab of a cursor model to show for this cursor that this behaviour automatically instantiates. |
| Transform | ModelParent The transform that this behaviour uses as the parent for the model prefab when it is instantiated. |
| Transform | Model The instance of the cursor model in the scene. |
| bool | HideControllerModel Whether to hide the cursor model. |
| float | Radius 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;