1using System.Collections;
2using System.Collections.Generic;
19 internal const uint MAX_SUPPORTED_GLASSES_COUNT = 4;
43 public bool tiltFiveXR =
true;
45 public bool copyPlayerOneCameraTemplate =
true;
46 public bool copyPlayerOneObjectTemplate =
true;
47 public bool copyCloneCameraTemplateChildren =
true;
48 public bool copyPlayerOneCullingMask =
true;
49 public bool copyPlayerOneFOVToggle =
true;
50 public bool copyPlayerOneFOV =
true;
51 public bool copyPlayerOneNearClipPlane =
true;
52 public bool copyPlayerOneFarClipPlane =
true;
57 [System.Obsolete(
"headPoseCamera is deprecated, and its functionality has been split between " +
58 "GlassesSettings.cameraTemplate (for instantiating eye cameras) " +
59 "and SpectatorSettings.spectatorCamera (for the onscreen preview).")]
71 #pragma warning disable 618
74 #pragma warning restore 618
GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute ...
Camera cameraTemplate
The camera used as a template for creating the eye cameras at runtime.
GlassesMirrorMode glassesMirrorMode
static readonly string DEFAULT_FRIENDLY_NAME
const float DEFAULT_IPD_UGBD
float farClipPlane
The far clip plane in physical space (meters), to adjust for content scale and gameboard size.
LayerMask cullingMask
The culling mask to be used by the eye cameras for this pair of glasses.
GameObject objectTemplate
The object used as a template for creating the base Game Object when a pair of glasses connects.
float nearClipPlane
The near clip plane in physical space (meters), to adjust for content scale and gameboard size.
const float MIN_NEAR_CLIP_DISTANCE_IN_METERS
Camera headPoseCamera
The main camera used for rendering the Scene when the glasses are unavailable, and the gameobject use...
bool cloneCameraTemplateChildren
Whether or not the camera template's child gameobjects should be cloned during eye camera instantiati...