23 lines
755 B
C#
23 lines
755 B
C#
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
using UnityEngine;
|
|
|
|
namespace Microsoft.MixedReality.Toolkit.Input
|
|
{
|
|
/// <summary>
|
|
/// Adds ability to override head gaze on a gaze provider.
|
|
/// </summary>
|
|
public interface IMixedRealityGazeProviderHeadOverride
|
|
{
|
|
/// <summary>
|
|
/// If true, platform-specific head gaze override is used, when available. Otherwise, the center of the camera frame is used by default.
|
|
/// </summary>
|
|
bool UseHeadGazeOverride { get; set; }
|
|
|
|
/// <summary>
|
|
/// Allows head gaze to be overridden, typically by platform-specific values.
|
|
/// </summary>
|
|
void OverrideHeadGaze(Vector3 position, Vector3 forward);
|
|
}
|
|
} |