// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Physics;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
///
/// Interface defining a pointer result.
///
public interface IPointerResult
{
///
/// The starting point of the Pointer RaySteps.
///
Vector3 StartPoint { get; }
///
/// Details about the currently focused GameObject.
///
FocusDetails Details { get; }
///
/// The current pointer's target GameObject
///
GameObject CurrentPointerTarget { get; }
///
/// The previous pointer target.
///
GameObject PreviousPointerTarget { get; }
///
/// The index of the step that produced the last raycast hit, 0 when no raycast hit.
///
int RayStepIndex { get; }
}
}