C# 클래스 OVRCameraController, StereoAR-for-Unity

상속: OVRComponent
파일 보기 프로젝트 열기: hecomi/StereoAR-for-Unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BackgroundColor Color
CallInPreRender bool
CameraRootPosition Vector3
Chromatic bool
EyeCenterPosition Vector3
FarClipPlane float
FollowOrientation Transform
LensCorrection bool
NearClipPlane float
NeckPosition Vector3
PortraitMode bool
PredictionOn bool
TrackerRotatesY bool
UsePlayerEyeHeight bool
WireMode bool

공개 메소드들

메소드 설명
AttachGameObjectToCamera ( GameObject &gameObject ) : bool
ConfigureCameraLensCorrection ( Camera &camera ) : void
DetachGameObjectFromCamera ( GameObject &gameObject ) : bool
GetAspectRatio ( float &aspecRatio ) : void
GetCamera ( Camera &camera ) : void
GetCameraOrientation ( Quaternion &quaternion ) : bool
GetCameraOrientationEulerAngles ( Vector3 &angles ) : bool
GetCameraPosition ( Vector3 &position ) : bool
GetCameraRootPosition ( Vector3 &cameraRootPosition ) : void
GetDistortionCoefs ( float &distK0, float &distK1, float &distK2, float &distK3 ) : void
GetEyeCenterPosition ( Vector3 &eyeCenterPosition ) : void
GetIPD ( float &ipd ) : void
GetNeckPosition ( Vector3 &neckPosition ) : void
GetOrientationOffset ( Quaternion &orientationOffset ) : void
GetPlayerEyeHeight ( float &eyeHeight ) : bool
GetTrackerRotatesY ( bool &trackerRotatesY ) : void
GetVerticalFOV ( float &verticalFOV ) : void
GetYRotation ( float &yRotation ) : void
InitCameraControllerVariables ( ) : void
SetAspectRatio ( float aspectRatio ) : void
SetCameraRootPosition ( Vector3 &cameraRootPosition ) : void
SetCameras ( Camera &cameraLeft, Camera &cameraRight ) : void
SetDistortionCoefs ( float distK0, float distK1, float distK2, float distK3 ) : void
SetEyeCenterPosition ( Vector3 eyeCenterPosition ) : void
SetIPD ( float ipd ) : void
SetMaximumVisualQuality ( ) : void
SetNeckPosition ( Vector3 neckPosition ) : void
SetOrientationOffset ( Quaternion orientationOffset ) : void
SetPortraitMode ( ) : void
SetTrackerRotatesY ( bool trackerRotatesY ) : void
SetVerticalFOV ( float verticalFOV ) : void
SetYRotation ( float yRotation ) : void
UpdateCameras ( ) : void
UpdatePlayerEyeHeight ( ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void
ConfigureCamera ( Camera &camera, float distOffset, float perspOffset, float eyePositionOffset ) : bool
Start ( ) : void
Update ( ) : void

메소드 상세

AttachGameObjectToCamera() 공개 메소드

public AttachGameObjectToCamera ( GameObject &gameObject ) : bool
gameObject GameObject
리턴 bool

ConfigureCameraLensCorrection() 공개 메소드

public ConfigureCameraLensCorrection ( Camera &camera ) : void
camera Camera
리턴 void

DetachGameObjectFromCamera() 공개 메소드

public DetachGameObjectFromCamera ( GameObject &gameObject ) : bool
gameObject GameObject
리턴 bool

GetAspectRatio() 공개 메소드

public GetAspectRatio ( float &aspecRatio ) : void
aspecRatio float
리턴 void

GetCamera() 공개 메소드

public GetCamera ( Camera &camera ) : void
camera Camera
리턴 void

GetCameraOrientation() 공개 메소드

public GetCameraOrientation ( Quaternion &quaternion ) : bool
quaternion Quaternion
리턴 bool

GetCameraOrientationEulerAngles() 공개 메소드

public GetCameraOrientationEulerAngles ( Vector3 &angles ) : bool
angles Vector3
리턴 bool

GetCameraPosition() 공개 메소드

public GetCameraPosition ( Vector3 &position ) : bool
position Vector3
리턴 bool

GetCameraRootPosition() 공개 메소드

public GetCameraRootPosition ( Vector3 &cameraRootPosition ) : void
cameraRootPosition Vector3
리턴 void

GetDistortionCoefs() 공개 메소드

public GetDistortionCoefs ( float &distK0, float &distK1, float &distK2, float &distK3 ) : void
distK0 float
distK1 float
distK2 float
distK3 float
리턴 void

GetEyeCenterPosition() 공개 메소드

public GetEyeCenterPosition ( Vector3 &eyeCenterPosition ) : void
eyeCenterPosition Vector3
리턴 void

GetIPD() 공개 메소드

public GetIPD ( float &ipd ) : void
ipd float
리턴 void

GetNeckPosition() 공개 메소드

public GetNeckPosition ( Vector3 &neckPosition ) : void
neckPosition Vector3
리턴 void

GetOrientationOffset() 공개 메소드

public GetOrientationOffset ( Quaternion &orientationOffset ) : void
orientationOffset Quaternion
리턴 void

GetPlayerEyeHeight() 공개 메소드

public GetPlayerEyeHeight ( float &eyeHeight ) : bool
eyeHeight float
리턴 bool

GetTrackerRotatesY() 공개 메소드

public GetTrackerRotatesY ( bool &trackerRotatesY ) : void
trackerRotatesY bool
리턴 void

GetVerticalFOV() 공개 메소드

public GetVerticalFOV ( float &verticalFOV ) : void
verticalFOV float
리턴 void

GetYRotation() 공개 메소드

public GetYRotation ( float &yRotation ) : void
yRotation float
리턴 void

InitCameraControllerVariables() 공개 메소드

public InitCameraControllerVariables ( ) : void
리턴 void

SetAspectRatio() 공개 메소드

public SetAspectRatio ( float aspectRatio ) : void
aspectRatio float
리턴 void

SetCameraRootPosition() 공개 메소드

public SetCameraRootPosition ( Vector3 &cameraRootPosition ) : void
cameraRootPosition Vector3
리턴 void

SetCameras() 공개 메소드

public SetCameras ( Camera &cameraLeft, Camera &cameraRight ) : void
cameraLeft Camera
cameraRight Camera
리턴 void

SetDistortionCoefs() 공개 메소드

public SetDistortionCoefs ( float distK0, float distK1, float distK2, float distK3 ) : void
distK0 float
distK1 float
distK2 float
distK3 float
리턴 void

SetEyeCenterPosition() 공개 메소드

public SetEyeCenterPosition ( Vector3 eyeCenterPosition ) : void
eyeCenterPosition Vector3
리턴 void

SetIPD() 공개 메소드

public SetIPD ( float ipd ) : void
ipd float
리턴 void

SetMaximumVisualQuality() 공개 메소드

public SetMaximumVisualQuality ( ) : void
리턴 void

SetNeckPosition() 공개 메소드

public SetNeckPosition ( Vector3 neckPosition ) : void
neckPosition Vector3
리턴 void

SetOrientationOffset() 공개 메소드

public SetOrientationOffset ( Quaternion orientationOffset ) : void
orientationOffset Quaternion
리턴 void

SetPortraitMode() 공개 메소드

public SetPortraitMode ( ) : void
리턴 void

SetTrackerRotatesY() 공개 메소드

public SetTrackerRotatesY ( bool trackerRotatesY ) : void
trackerRotatesY bool
리턴 void

SetVerticalFOV() 공개 메소드

public SetVerticalFOV ( float verticalFOV ) : void
verticalFOV float
리턴 void

SetYRotation() 공개 메소드

public SetYRotation ( float yRotation ) : void
yRotation float
리턴 void

UpdateCameras() 공개 메소드

public UpdateCameras ( ) : void
리턴 void

UpdatePlayerEyeHeight() 공개 메소드

public UpdatePlayerEyeHeight ( ) : void
리턴 void

프로퍼티 상세

BackgroundColor 공개적으로 프로퍼티

public Color BackgroundColor
리턴 Color

CallInPreRender 공개적으로 프로퍼티

public bool CallInPreRender
리턴 bool

CameraRootPosition 공개적으로 프로퍼티

public Vector3 CameraRootPosition
리턴 Vector3

Chromatic 공개적으로 프로퍼티

public bool Chromatic
리턴 bool

EyeCenterPosition 공개적으로 프로퍼티

public Vector3 EyeCenterPosition
리턴 Vector3

FarClipPlane 공개적으로 프로퍼티

public float FarClipPlane
리턴 float

FollowOrientation 공개적으로 프로퍼티

public Transform FollowOrientation
리턴 Transform

LensCorrection 공개적으로 프로퍼티

public bool LensCorrection
리턴 bool

NearClipPlane 공개적으로 프로퍼티

public float NearClipPlane
리턴 float

NeckPosition 공개적으로 프로퍼티

public Vector3 NeckPosition
리턴 Vector3

PortraitMode 공개적으로 프로퍼티

public bool PortraitMode
리턴 bool

PredictionOn 공개적으로 프로퍼티

public bool PredictionOn
리턴 bool

TrackerRotatesY 공개적으로 프로퍼티

public bool TrackerRotatesY
리턴 bool

UsePlayerEyeHeight 공개적으로 프로퍼티

public bool UsePlayerEyeHeight
리턴 bool

WireMode 공개적으로 프로퍼티

public bool WireMode
리턴 bool