C# 클래스 StereoCameraManager

Updates two cameras to provide a stereo view.
상속: MonoBehaviour
파일 보기 프로젝트 열기: ekumenlabs/Garkanoid

공개 프로퍼티들

프로퍼티 타입 설명
FOV float
IPDInMM float
enableStereo bool
eyeOffsetInMM Vector3
farClippingPlaneInMM float
isPoseIndependentCamera bool
isShowingDebugButton bool
leftCamera GameObject
nearClippingPlaneInMM float
rightCamera GameObject
screenWidthInMM float

공개 메소드들

메소드 설명
OnGUI ( ) : void

Unity GUI callback.

Start ( ) : void

Use this for initialization.

Update ( ) : void

Update is called once per frame.

비공개 메소드들

메소드 설명
SetupCameras ( bool enable ) : void

Setup the cameras for the left and right eye to display in stereo.

메소드 상세

OnGUI() 공개 메소드

Unity GUI callback.
public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

Use this for initialization.
public Start ( ) : void
리턴 void

Update() 공개 메소드

Update is called once per frame.
public Update ( ) : void
리턴 void

프로퍼티 상세

FOV 공개적으로 프로퍼티

public float FOV
리턴 float

IPDInMM 공개적으로 프로퍼티

public float IPDInMM
리턴 float

enableStereo 공개적으로 프로퍼티

public bool enableStereo
리턴 bool

eyeOffsetInMM 공개적으로 프로퍼티

public Vector3 eyeOffsetInMM
리턴 Vector3

farClippingPlaneInMM 공개적으로 프로퍼티

public float farClippingPlaneInMM
리턴 float

isPoseIndependentCamera 공개적으로 프로퍼티

public bool isPoseIndependentCamera
리턴 bool

isShowingDebugButton 공개적으로 프로퍼티

public bool isShowingDebugButton
리턴 bool

leftCamera 공개적으로 프로퍼티

public GameObject leftCamera
리턴 GameObject

nearClippingPlaneInMM 공개적으로 프로퍼티

public float nearClippingPlaneInMM
리턴 float

rightCamera 공개적으로 프로퍼티

public GameObject rightCamera
리턴 GameObject

screenWidthInMM 공개적으로 프로퍼티

public float screenWidthInMM
리턴 float