Editar

Compartilhar via


GrabTouchExample Class

Definition

Caution

This component is no longer supported

public ref class GrabTouchExample : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityTouchHandler, UnityEngine::EventSystems::IEventSystemHandler
[System.Obsolete("This component is no longer supported", true)]
[UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/GrabTouchExample")]
public class GrabTouchExample : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityTouchHandler, UnityEngine.EventSystems.IEventSystemHandler
[<System.Obsolete("This component is no longer supported", true)>]
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/GrabTouchExample")>]
type GrabTouchExample = class
    inherit MonoBehaviour
    interface IMixedRealityTouchHandler
    interface IEventSystemHandler
    interface IMixedRealityInputHandler
    interface IMixedRealityBaseInputHandler
Public Class GrabTouchExample
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityInputHandler, IMixedRealityTouchHandler
Inheritance
UnityEngine.MonoBehaviour
GrabTouchExample
Attributes
ObsoleteAttribute UnityEngine.AddComponentMenuAttribute
Implements

Constructors

GrabTouchExample()

Methods

OnInputDown(InputEventData)
OnInputPressed(InputEventData<Single>)
OnInputUp(InputEventData)
OnPositionInputChanged(InputEventData<Vector2>)
OnTouchCompleted(HandTrackingInputEventData)

This Handler is called by a HandTrackingInputSource when a Touch action for that hand starts.

OnTouchStarted(HandTrackingInputEventData)
OnTouchUpdated(HandTrackingInputEventData)

Applies to