mixedreality/com.microsoft.mixedreality..../Providers/OpenXR/Scripts/HolographicReprojectionMeth...

36 lines
907 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.XRSDK.OpenXR
{
/// <summary>
/// Enumeration defining how holograms are stabilized during reprojection.
/// </summary>
public enum HolographicReprojectionMethod
{
/// <summary>
/// Turns any reprojection off.
/// </summary>
NoReprojection = -1,
/// <summary>
/// Use the depth buffer.
/// </summary>
Depth = 0,
/// <summary>
/// Automatically-placed plane based on the depth buffer.
/// </summary>
PlanarFromDepth = 1,
/// <summary>
/// Manually-placed plane.
/// </summary>
PlanarManual = 2,
/// <summary>
/// Reprojection for an orientation-only experience.
/// </summary>
OrientationOnly = 3,
}
}