Haply::Inverse::Unity::VerseGripCursor
Inherits from Haply.Inverse.Unity.CursorBehaviour, MonoBehaviour
Protected Functions
| Name | |
|---|---|
| override void | UpdateCursor() |
Public Attributes
| Name | |
|---|---|
| bool | useDeviceLocalSpace |
Additional inherited members
Protected Functions inherited from Haply.Inverse.Unity.CursorBehaviour
| Name | |
|---|---|
| virtual void | AddDeviceListeners() Adds listeners to the device. |
| virtual void | RemoveDeviceListeners() Removes listeners from the device. |
| virtual GameObject | GetModelPrefab() Gets the prefab that should be instantiated upon startup. |
| virtual void | Awake() |
| virtual void | OnEnable() |
| void | Update() |
| void | FixedUpdate() |
Public Properties inherited from Haply.Inverse.Unity.CursorBehaviour
| Name | |
|---|---|
| DeviceBehaviour | Device Device that controls the cursor. |
| 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 Properties inherited from Haply.Inverse.Unity.CursorBehaviour
| Name | |
|---|---|
| bool | IsDeviceSet Indicates whether the Device has been set. |
| bool | IsUpdateCursorRequired 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;