using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Rokid.UXR.Interaction
{
///
/// Gesture ray enters,grip or pinch gesture type triggers
///
public interface IGesPointerEnter
{
void OnGesPointerEnter();
}
///
/// Gesture ray exits,grip or pinch gesture type triggers
///
public interface IGesPointerExit
{
void OnGesPointerExit();
}
///
/// Gesture Ray drag starts,grip or pinch gesture type triggers
///
public interface IGesBeginDrag
{
void OnGesBeginDrag(PointerEventData eventData);
}
///
/// Gesture ray drag ends,grip or pinch gesture type triggers
///
public interface IGesEndDrag
{
void OnGesEndDrag();
}
///
/// Gesture ray drag,grip or pinch gesture type triggers
///
public interface IGesDrag
{
[Obsolete("Use IGesDragToTarget instead")]
void OnGesDrag(Vector3 delta);
}
///
/// Gesture ray drag,grip or pinch gesture type triggers
///
public interface IGesDragToTarget
{
void OnGesDragToTarget(Vector3 targetPos);
}
///
/// The gesture ray is hovering and the grip or pinch type is triggered
///
public interface IGesPointerHover
{
void OnGesPointerHover(RaycastResult result);
}
///
/// Gesture ray click,grip or pinch gesture type trigger
///
public interface IGesPointerClick
{
void OnGesPointerClick();
}
}