Table of Contents

Class LFBaseCamera

Namespace
Turing.Core.LF3D
Assembly
Turing.Core.dll
public class LFBaseCamera : TuringCamera
Inheritance
Object
Component
Behaviour
MonoBehaviour
LFBaseCamera
Derived
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Extension Methods

Fields

colorInversion

[Tooltip("反转RGB颜色,适用于10.1寸横屏、竖屏相框多视点3D")]
public bool colorInversion

Field Value

bool

hasCheckedLicense

protected bool hasCheckedLicense

Field Value

bool

viewpointOffset

[Header("Special Stereo Effect")]
[Tooltip("中心视点补偿,适用于10.1寸横屏、竖屏相框多视点3D")]
public bool viewpointOffset

Field Value

bool

Methods

CalculateProjectMatrix2(Camera, int, Vector2, Vector3, float)

public void CalculateProjectMatrix2(Camera camera, int index, Vector2 screenSize, Vector3 viewerPose, float eyeDistance)

Parameters

camera Camera
index int
screenSize Vector2
viewerPose Vector3
eyeDistance float

CalculateProjectionMatrix(Camera, float, float, bool)

public void CalculateProjectionMatrix(Camera stereoCamera, float convergencePlaneDis, float cameraDis, bool isLeftCamera)

Parameters

stereoCamera Camera
convergencePlaneDis float
cameraDis float
isLeftCamera bool

CalculateViewMatrix(Camera, int, float, float, float, float)

public void CalculateViewMatrix(Camera stereoCamera, int index, float convergencePlaneDis, float cameraDis, float offsetMotionX, float offestMotionY)

Parameters

stereoCamera Camera
index int
convergencePlaneDis float
cameraDis float
offsetMotionX float
offestMotionY float

CheckKey()

protected void CheckKey()

EnableMuitView()

public void EnableMuitView()

InitDeviceConfig()

protected void InitDeviceConfig()

PerspectiveOffCenter(float, float, float, float, float, float)

public static Matrix4x4 PerspectiveOffCenter(float left, float right, float bottom, float top, float near, float far)

Parameters

left float
right float
bottom float
top float
near float
far float

Returns

Matrix4x4