We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class BaseDwellSample

    Example script to demonstrate dwell visuals in sample scene

    Inheritance
    Object
    BaseDwellSample
    InstantDwellSample
    ListItemDwell
    ToggleDwellSample
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Dwell
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseDwellSample : MonoBehaviour

    Fields

    dwellHandler

    Declaration
    protected DwellHandler dwellHandler
    Field Value
    Type Description
    DwellHandler

    dwellVisualImage

    Declaration
    protected Image dwellVisualImage
    Field Value
    Type Description
    Image

    isDwelling

    Declaration
    public bool isDwelling
    Field Value
    Type Description
    Boolean

    targetButton

    Declaration
    protected Button targetButton
    Field Value
    Type Description
    Button

    Methods

    Awake()

    Declaration
    protected virtual void Awake()

    ButtonExecute()

    Declaration
    public virtual void ButtonExecute()

    DwellCanceled(IMixedRealityPointer)

    Declaration
    public virtual void DwellCanceled(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer

    DwellCompleted(IMixedRealityPointer)

    Declaration
    public virtual void DwellCompleted(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer

    DwellIntended(IMixedRealityPointer)

    Declaration
    public virtual void DwellIntended(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer

    DwellStarted(IMixedRealityPointer)

    Declaration
    public virtual void DwellStarted(IMixedRealityPointer pointer)
    Parameters
    Type Name Description
    IMixedRealityPointer pointer
    In This Article
    Back to top Generated by DocFX