34 internal const uint MAX_SUPPORTED_GLASSES_COUNT = 4;
36 public const float MIN_FOV = 35f;
37 public const float MAX_FOV = 64f;
38 public const float DEFAULT_FOV = 48f;
43 [Obsolete(
"GlassesSettings.DEFAULT_IPD_UGBD is deprecated.")]
44 public const float DEFAULT_IPD_UGBD = 0.059f;
45 internal const float DEFAULT_IPD_STAGE = 0.059f;
49 public const float MIN_NEAR_CLIP_DISTANCE_IN_METERS = 0.1f;
51 public static readonly
string DEFAULT_FRIENDLY_NAME =
"Tilt Five Glasses";
60 public bool tiltFiveXR =
true;
62 public bool copyPlayerOneCameraTemplate =
true;
63 public bool copyPlayerOneObjectTemplate =
true;
64#if UNITY_2019_1_OR_NEWER && INPUTSYSTEM_AVAILABLE
65 public bool copyPlayerOnePlayerTemplate =
true;
67 public bool copyCloneCameraTemplateChildren =
true;
68 public bool copyPlayerOneCullingMask =
true;
69 public bool copyPlayerOneFOVToggle =
true;
70 public bool copyPlayerOneFOV =
true;
71 public bool copyPlayerOneNearClipPlane =
true;
72 public bool copyPlayerOneFarClipPlane =
true;
77 [System.Obsolete(
"headPoseCamera is deprecated, and its functionality has been split between " +
78 "GlassesSettings.cameraTemplate (for instantiating eye cameras) " +
79 "and SpectatorSettings.spectatorCamera (for the onscreen preview).")]
91 #pragma warning disable 618
94 #pragma warning restore 618
102#if UNITY_2019_1_OR_NEWER && INPUTSYSTEM_AVAILABLE
108 public GameObject playerTemplate;
132 public bool overrideFOV =
false;
133 public float customFOV = DEFAULT_FOV;
134 public float fieldOfView => overrideFOV
135 ? Mathf.Clamp(customFOV, MIN_FOV, MAX_FOV)
138 public GlassesMirrorMode glassesMirrorMode = GlassesMirrorMode.LeftEye;
140 public bool usePreviewPose =
true;
141 public Transform previewPose;
143 public string friendlyName = DEFAULT_FRIENDLY_NAME;