ToggleDwellSample Class

Definition

Example script to demonstrate a toggle button using dwell

public ref class ToggleDwellSample : Microsoft::MixedReality::Toolkit::Experimental::Dwell::BaseDwellSample
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleDwellSample")]
public class ToggleDwellSample : Microsoft.MixedReality.Toolkit.Experimental.Dwell.BaseDwellSample
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleDwellSample")>]
type ToggleDwellSample = class
    inherit BaseDwellSample
Public Class ToggleDwellSample
Inherits BaseDwellSample
Inheritance
UnityEngine.MonoBehaviour
ToggleDwellSample
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

ToggleDwellSample()

Fields

dwellHandler (Inherited from BaseDwellSample)
dwellVisualImage (Inherited from BaseDwellSample)
isDwelling (Inherited from BaseDwellSample)
targetButton (Inherited from BaseDwellSample)

Methods

Awake() (Inherited from BaseDwellSample)
ButtonExecute()
DwellCanceled(IMixedRealityPointer)
DwellCompleted(IMixedRealityPointer)
DwellIntended(IMixedRealityPointer)
DwellStarted(IMixedRealityPointer) (Inherited from BaseDwellSample)
Update()

Applies to