BaseDwellPressableButton Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Example script to demonstrate dwell visuals in sample scene
public ref class BaseDwellPressableButton abstract : UnityEngine::MonoBehaviour
public abstract class BaseDwellPressableButton : UnityEngine.MonoBehaviour
type BaseDwellPressableButton = class
inherit MonoBehaviour
Public MustInherit Class BaseDwellPressableButton
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourBaseDwellPressableButton
- Derived
Constructors
BaseDwellPressableButton() |
Fields
dwellVisualImage | |
targetButton |
Properties
DwellHandler |
The dwell handler associated with the target |
IsDwelling |
Whether the targeting is being dwelled on |
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 |
DwellCompleted(IMixedRealityPointer) |
Function called when entering dwell completed state |
DwellIntended(IMixedRealityPointer) |
Function called when entering dwell intended state |
DwellStarted(IMixedRealityPointer) |
Function called when entering dwell started state |