GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute the Head Pose and apply it to the Camera.
More...
|
| Camera | headPoseCamera |
| | The main camera used for rendering the Scene when the glasses are unavailable, and the gameobject used for the glasses pose.
|
| GameObject | objectTemplate |
| | The object used as a template for creating the base Game Object when a specific playerIndex connects.
|
| bool | cloneCameraTemplateChildren = false |
| | Whether or not the camera template's child gameobjects should be cloned during eye camera instantiation at runtime.
|
| LayerMask | cullingMask = ~0 |
| | The culling mask to be used by the eye cameras for this pair of glasses.
|
| float | nearClipPlane = MIN_NEAR_CLIP_DISTANCE_IN_METERS |
| | The near clip plane in physical space (meters), to adjust for content scale and gameboard size.
|
| float | farClipPlane = 100f |
| | The far clip plane in physical space (meters), to adjust for content scale and gameboard size.
|
| bool | overrideFOV = false |
| float | customFOV = DEFAULT_FOV |
| GlassesMirrorMode | glassesMirrorMode = GlassesMirrorMode.LeftEye |
| bool | usePreviewPose = true |
| Transform | previewPose |
| string | friendlyName = DEFAULT_FRIENDLY_NAME |
| bool | RejectUntrackedPositionData = true |
| TrackingFailureMode | FailureMode = TrackingFailureMode.FreezePosition |
|
| Camera | cameraTemplate [get, set] |
| | The camera used as a template for creating the eye cameras at runtime.
|
| float | fieldOfView [get] |
|
| enum | TrackingFailureMode { FreezePosition = 0
, FreezePositionAndRotation = 1
, SnapToDefault = 2
} |
GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute the Head Pose and apply it to the Camera.
Definition at line 27 of file GlassesSettings.cs.
◆ cloneCameraTemplateChildren
| bool TiltFive.GlassesSettings.cloneCameraTemplateChildren = false |
Whether or not the camera template's child gameobjects should be cloned during eye camera instantiation at runtime.
Definition at line 115 of file GlassesSettings.cs.
◆ cullingMask
| LayerMask TiltFive.GlassesSettings.cullingMask = ~0 |
The culling mask to be used by the eye cameras for this pair of glasses.
Definition at line 120 of file GlassesSettings.cs.
◆ customFOV
| float TiltFive.GlassesSettings.customFOV = DEFAULT_FOV |
◆ DEFAULT_FOV
| const float TiltFive.GlassesSettings.DEFAULT_FOV = 48f |
|
static |
◆ DEFAULT_FRIENDLY_NAME
| readonly string TiltFive.GlassesSettings.DEFAULT_FRIENDLY_NAME = "Tilt Five Glasses" |
|
static |
◆ DEFAULT_IPD_UGBD
| const float TiltFive.GlassesSettings.DEFAULT_IPD_UGBD = 0.059f |
|
static |
◆ farClipPlane
| float TiltFive.GlassesSettings.farClipPlane = 100f |
The far clip plane in physical space (meters), to adjust for content scale and gameboard size.
Definition at line 130 of file GlassesSettings.cs.
◆ friendlyName
| string TiltFive.GlassesSettings.friendlyName = DEFAULT_FRIENDLY_NAME |
◆ glassesMirrorMode
| GlassesMirrorMode TiltFive.GlassesSettings.glassesMirrorMode = GlassesMirrorMode.LeftEye |
◆ headPoseCamera
| Camera TiltFive.GlassesSettings.headPoseCamera |
The main camera used for rendering the Scene when the glasses are unavailable, and the gameobject used for the glasses pose.
Definition at line 80 of file GlassesSettings.cs.
◆ MAX_FOV
| const float TiltFive.GlassesSettings.MAX_FOV = 64f |
|
static |
◆ MIN_FOV
| const float TiltFive.GlassesSettings.MIN_FOV = 35f |
|
static |
◆ MIN_NEAR_CLIP_DISTANCE_IN_METERS
| const float TiltFive.GlassesSettings.MIN_NEAR_CLIP_DISTANCE_IN_METERS = 0.1f |
|
static |
◆ nearClipPlane
| float TiltFive.GlassesSettings.nearClipPlane = MIN_NEAR_CLIP_DISTANCE_IN_METERS |
The near clip plane in physical space (meters), to adjust for content scale and gameboard size.
Definition at line 125 of file GlassesSettings.cs.
◆ objectTemplate
| GameObject TiltFive.GlassesSettings.objectTemplate |
The object used as a template for creating the base Game Object when a specific playerIndex connects.
Definition at line 100 of file GlassesSettings.cs.
◆ overrideFOV
| bool TiltFive.GlassesSettings.overrideFOV = false |
◆ previewPose
| Transform TiltFive.GlassesSettings.previewPose |
◆ usePreviewPose
| bool TiltFive.GlassesSettings.usePreviewPose = true |
◆ cameraTemplate
| Camera TiltFive.GlassesSettings.cameraTemplate |
|
getset |
◆ fieldOfView
| float TiltFive.GlassesSettings.fieldOfView |
|
get |
The documentation for this class was generated from the following file: