mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class ToggleDwellSample

    Example script to demonstrate a toggle button using dwell

    Inheritance
    Object
    BaseDwellSample
    ToggleDwellSample
    Implements
    MonoBehaviour
    Inherited Members
    BaseDwellSample.dwellVisualImage
    BaseDwellSample.targetButton
    BaseDwellSample.dwellHandler
    BaseDwellSample.isDwelling
    BaseDwellSample.Awake()
    BaseDwellSample.DwellStarted(IMixedRealityPointer)
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Dwell
    Assembly: cs.temp.dll.dll
    Syntax
    public class ToggleDwellSample : BaseDwellSample, MonoBehaviour

    Methods

    ButtonExecute()

    Declaration
    public override void ButtonExecute()
    Overrides
    BaseDwellSample.ButtonExecute()

    ButtonExecute()

    Declaration
    public override void ButtonExecute()
    Overrides
    BaseDwellSample.ButtonExecute()

    DwellCanceled(IMixedRealityPointer)

    Declaration
    public override void DwellCanceled(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellCanceled(IMixedRealityPointer)

    DwellCanceled(IMixedRealityPointer)

    Declaration
    public override void DwellCanceled(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellCanceled(IMixedRealityPointer)

    DwellCompleted(IMixedRealityPointer)

    Declaration
    public override void DwellCompleted(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellCompleted(IMixedRealityPointer)

    DwellCompleted(IMixedRealityPointer)

    Declaration
    public override void DwellCompleted(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellCompleted(IMixedRealityPointer)

    DwellIntended(IMixedRealityPointer)

    Declaration
    public override void DwellIntended(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellIntended(IMixedRealityPointer)

    DwellIntended(IMixedRealityPointer)

    Declaration
    public override void DwellIntended(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    Overrides
    BaseDwellSample.DwellIntended(IMixedRealityPointer)

    Update()

    Declaration
    public void Update()

    Update()

    Declaration
    public void Update()

    Implements

    MonoBehaviour
    In This Article
    • Methods
      • ButtonExecute()
      • ButtonExecute()
      • DwellCanceled(IMixedRealityPointer)
      • DwellCanceled(IMixedRealityPointer)
      • DwellCompleted(IMixedRealityPointer)
      • DwellCompleted(IMixedRealityPointer)
      • DwellIntended(IMixedRealityPointer)
      • DwellIntended(IMixedRealityPointer)
      • Update()
      • Update()
    • Implements
    Back to top Generated by DocFX