mixedreality/com.microsoft.mixedreality..../Core/Definitions/Lines/LineRotationMode.cs

24 lines
617 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Defines how to calculate the line's rotation at any given point.
/// </summary>
public enum LineRotationMode
{
/// <summary>
/// Don't rotate
/// </summary>
None = 0,
/// <summary>
/// Use velocity to calculate the line's rotation
/// </summary>
Velocity,
/// <summary>
/// Rotate relative to direction from origin point
/// </summary>
RelativeToOrigin,
}
}