Class DwellHandler
Implements
IMixedRealityFocusHandler
MonoBehaviour
Assembly: cs.temp.dll.dll
public class DwellHandler : MonoBehaviour, IMixedRealityFocusHandler, MonoBehaviour
Fields
Captures the dwell status
Declaration
protected DwellHandler.DwellStateType CurrentDwellState
Field Value
Captures the dwell status
Declaration
protected DwellHandler.DwellStateType CurrentDwellState
Field Value
Declaration
protected DwellProfile dwellProfile
Field Value
Declaration
protected DwellProfile dwellProfile
Field Value
Abstracted value for the how long the dwelled object still needs to be focused to complete the dwell action
Value ranges from 0 to "TimeToCompleteDwell" setting in the dwellprofile. This picks up the same unit as TimeToCompleteDwell
Declaration
protected float FillTimer
Field Value
Abstracted value for the how long the dwelled object still needs to be focused to complete the dwell action
Value ranges from 0 to "TimeToCompleteDwell" setting in the dwellprofile. This picks up the same unit as TimeToCompleteDwell
Declaration
protected float FillTimer
Field Value
Properties
Property exposing the computation for what percentage of dwell has progressed.
Declaration
public virtual float DwellProgress { get; }
Property Value
Property exposing the computation for what percentage of dwell has progressed.
Declaration
public virtual float DwellProgress { get; }
Property Value
Exposes whether the target has focus from the pointer type defined in dwell profile settings
Declaration
protected bool HasFocus { get; }
Property Value
Exposes whether the target has focus from the pointer type defined in dwell profile settings
Declaration
protected bool HasFocus { get; }
Property Value
Methods
Method that can be invoked if external factors (e.g. alternate input modality preemptively invoked the target) force the dwell action to prematurely end
Declaration
public virtual void CancelDwell()
Method that can be invoked if external factors (e.g. alternate input modality preemptively invoked the target) force the dwell action to prematurely end
Declaration
public virtual void CancelDwell()
Declaration
public void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Default FillTimer computation based on profile settings
Declaration
protected virtual void UpdateFillTimer()
Default FillTimer computation based on profile settings
Declaration
protected virtual void UpdateFillTimer()
Implements
IMixedRealityFocusHandler
MonoBehaviour