Class InteractableOnTouchReceiver
A basic touch event receiver for detecting Physical Touch state changes in the Interactable When the physical touch states change, these events are triggered.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class InteractableOnTouchReceiver : ReceiverBase
Constructors
InteractableOnTouchReceiver()
Receiver for raising touch begin and end events
Declaration
public InteractableOnTouchReceiver()
InteractableOnTouchReceiver()
Receiver for raising touch begin and end events
Declaration
public InteractableOnTouchReceiver()
InteractableOnTouchReceiver(UnityEvent)
Receiver for raising touch begin and end events
Declaration
public InteractableOnTouchReceiver(UnityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
UnityEvent | ev |
InteractableOnTouchReceiver(UnityEvent)
Receiver for raising touch begin and end events
Declaration
public InteractableOnTouchReceiver(UnityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
UnityEvent | ev |
Fields
OnTouchEnd
Invoked when touch has left the object
Declaration
public UnityEvent OnTouchEnd
Field Value
Type | Description |
---|---|
UnityEvent |
OnTouchEnd
Invoked when touch has left the object
Declaration
public UnityEvent OnTouchEnd
Field Value
Type | Description |
---|---|
UnityEvent |
Properties
OnTouchStart
Invoked when touch begins
Declaration
public UnityEvent OnTouchStart { get; }
Property Value
Type | Description |
---|---|
UnityEvent |
OnTouchStart
Invoked when touch begins
Declaration
public UnityEvent OnTouchStart { get; }
Property Value
Type | Description |
---|---|
UnityEvent |
Methods
OnUpdate(InteractableStates, Interactable)
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Type | Name | Description |
---|---|---|
InteractableStates | state | |
Interactable | source |
Overrides
OnUpdate(InteractableStates, Interactable)
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Type | Name | Description |
---|---|---|
InteractableStates | state | |
Interactable | source |