편집

다음을 통해 공유


InstantDwellSample Class

Definition

Dwell sample with no DwellIntended delay

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

Constructors

InstantDwellSample()

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()

(Inherited from BaseDwellSample)
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