Edit

Share via


ListItemDwell Class

Definition

Dwell sample to work on a list of dwell targets

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

Constructors

ListItemDwell()

Fields

dwellVisualImage (Inherited from BaseDwellSample)
targetButton (Inherited from BaseDwellSample)

Properties

DwellHandler

The dwell handler associated with the target

(Inherited from BaseDwellSample)
IsDwelling

Whether the targeting is being dwelled on

(Inherited from BaseDwellSample)

Methods

Awake()

Assign the DwellHandler at Awake()

ButtonExecute()

Function called when the target button is pressed

DwellCanceled(IMixedRealityPointer)

Function called when entering dwell canceled state

(Inherited from BaseDwellSample)
DwellCompleted(IMixedRealityPointer)

Function called when entering dwell completed state

DwellIntended(IMixedRealityPointer)

Function called when entering dwell intended state

(Inherited from BaseDwellSample)
DwellStarted(IMixedRealityPointer)

Function called when entering dwell started state

(Inherited from BaseDwellSample)

Applies to