Tilt Five Unity SDK 1.4.2
Loading...
Searching...
No Matches
TiltFive.GlassesSettings Class Reference

GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute the Head Pose and apply it to the Camera. More...

Inheritance diagram for TiltFive.GlassesSettings:
TiltFive.TrackableSettings

Public Attributes

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
Public Attributes inherited from TiltFive.TrackableSettings
bool RejectUntrackedPositionData = true
TrackingFailureMode FailureMode = TrackingFailureMode.FreezePosition

Static Public Attributes

const float MIN_FOV = 35f
const float MAX_FOV = 64f
const float DEFAULT_FOV = 48f
const float DEFAULT_IPD_UGBD = 0.059f
const float MIN_NEAR_CLIP_DISTANCE_IN_METERS = 0.1f
static readonly string DEFAULT_FRIENDLY_NAME = "Tilt Five Glasses"

Properties

Camera cameraTemplate [get, set]
 The camera used as a template for creating the eye cameras at runtime.
float fieldOfView [get]

Additional Inherited Members

Public Types inherited from TiltFive.TrackableSettings
enum  TrackingFailureMode { FreezePosition = 0 , FreezePositionAndRotation = 1 , SnapToDefault = 2 }

Detailed Description

GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute the Head Pose and apply it to the Camera.

Member Data Documentation

◆ cloneCameraTemplateChildren

bool TiltFive.GlassesSettings.cloneCameraTemplateChildren = false

Whether or not the camera template's child gameobjects should be cloned during eye camera instantiation at runtime.

◆ cullingMask

LayerMask TiltFive.GlassesSettings.cullingMask = ~0

The culling mask to be used by the eye cameras for this pair of glasses.

◆ 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.

◆ 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.

◆ 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.

◆ objectTemplate

GameObject TiltFive.GlassesSettings.objectTemplate

The object used as a template for creating the base Game Object when a specific playerIndex connects.

◆ overrideFOV

bool TiltFive.GlassesSettings.overrideFOV = false

◆ previewPose

Transform TiltFive.GlassesSettings.previewPose

◆ usePreviewPose

bool TiltFive.GlassesSettings.usePreviewPose = true

Property Documentation

◆ cameraTemplate

Camera TiltFive.GlassesSettings.cameraTemplate
getset

The camera used as a template for creating the eye cameras at runtime.

Alias for the obsolete field headPoseCamera.

◆ fieldOfView

float TiltFive.GlassesSettings.fieldOfView
get

The documentation for this class was generated from the following file: