XimmerseXRSettings.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System;
  5. using Ximmerse.XR.Tag;
  6. namespace Ximmerse.XR
  7. {
  8. /// <summary>
  9. /// XR Settings for Ximmerse XR Plugin.
  10. /// Required by XR Management package.
  11. /// </summary>
  12. [System.Serializable]
  13. public class XimmerseXRSettings : ScriptableObject
  14. {
  15. [Tooltip("Display eye reticle texture or not.")]
  16. public bool displayReticle = true;
  17. [Tooltip("Texture of eye reticle.")]
  18. public Texture2D reticleTexture;
  19. [Tooltip("The default tracking profile to be loaded, when SDK starts.")]
  20. public ObjectTrackingProfile defaultTrackingProfile;
  21. [Tooltip("The default ground plane layout to be loaded, when SDK starts. \r\n If none, there will be no ground plane by default.")]
  22. public GroundPlaneLayoutConfiguration defaultGroundPlaneLayoutConfig;
  23. [Tooltip("Draw tracked marker gizmos if true.")]
  24. public bool DrawTrackedMarkerGizmos = false;
  25. [Tooltip("Print detail tracked info.")]
  26. public bool DrawDetailTrackedInfo = false;
  27. [Tooltip("if true, hand tracking is activated when application starts.")]
  28. public bool HandTracking = false;
  29. }
  30. }