DwellProfile Class

Definition

Profile used by dwell handler to configure the various thresholds.

public ref class DwellProfile : UnityEngine::ScriptableObject
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Dwell.DwellProfile), null)]
[UnityEngine.CreateAssetMenu(fileName="DwellProfile", menuName="Mixed Reality/Toolkit/Profiles/Dwell Profile", order=100)]
[System.Serializable]
public class DwellProfile : UnityEngine.ScriptableObject
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Dwell.DwellProfile), null)>]
[<UnityEngine.CreateAssetMenu(fileName="DwellProfile", menuName="Mixed Reality/Toolkit/Profiles/Dwell Profile", order=100)>]
[<System.Serializable>]
type DwellProfile = class
    inherit ScriptableObject
Public Class DwellProfile
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
DwellProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute SerializableAttribute

Constructors

DwellProfile()

Properties

DecayDwellOverTime
DwellIntentDelay

Delay in seconds until it is determined that the user intends to interact with the target.

DwellPointerType

Pointer type to use for triggering a dwell interaction

DwellStartDelay

Delay in seconds until DwellStarted event is invoked.

TimeToAllowDwellResume

Time in seconds when focus can fall off the target and come back to resume an ongoing dwell. This only comes into play after DwellStarted state but before DwellCompleted is invoked.

TimeToCompleteDwell

Additional time in seconds (not including the dwellStartDelay) the user needs to keep looking at the UI to trigger select on it. Raises DwellCompleted event.

Applies to