RadialViewReferenceDirection.cs 766 B

123456789101112131415161718192021222324
  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // Licensed under the MIT License. See LICENSE in the project root for license information.
  3. namespace Microsoft.MixedReality.Toolkit.Utilities
  4. {
  5. /// <summary>
  6. /// Which direction to orient the radial view object.
  7. /// </summary>
  8. public enum RadialViewReferenceDirection
  9. {
  10. /// <summary>
  11. /// Orient towards the target including roll, pitch and yaw
  12. /// </summary>
  13. ObjectOriented,
  14. /// <summary>
  15. /// Orient toward the target but ignore roll
  16. /// </summary>
  17. FacingWorldUp,
  18. /// <summary>
  19. /// Orient towards the target but remain vertical or gravity aligned
  20. /// </summary>
  21. GravityAligned
  22. }
  23. }