getvisualizedvalue - eisclimber/ExPresS-XR GitHub Wiki
Method in ButtonVisualizer
Calculates a new value based on the constellation of a select interactable and the interactor. Called by a ExPresSXR.Interaction.ValueRangeInteractable automatically when updated with a grab.
public override float GetVisualizedValue(IXRInteractable interactable, IXRInteractor interactor)| Name | Description |
|---|---|
UnityEngine.XR.Interaction.Toolkit.Interactables.IXRInteractable interactable |
Interactable grabbed. |
UnityEngine.XR.Interaction.Toolkit.Interactors.IXRInteractor interactor |
Interactor grabbing. |
| value | Value to be displayed. |
The new value.