C# 클래스 Unity.OsvrRenderManager

상속: MonoBehaviour
파일 보기 프로젝트 열기: VirsixInc/VRCubeSword

공개 메소드들

메소드 설명
CreateRenderManager ( OSVR clientContext ) : int
ExitRenderManager ( ) : void
GetEyeProjectionMatrix ( int eye ) : Matrix4x4
GetEyeViewport ( int eye ) : OSVR.ClientKit.Viewport
GetRenderEventFunction ( ) : IntPtr
GetRenderManagerEyePose ( int eye ) : OSVR.ClientKit.Pose3
InitRenderManager ( ) : int
IsRenderManagerSupported ( ) : bool
IsUnityVersionSupported ( ) : bool
SetEyeColorBuffer ( IntPtr colorBuffer, int eye ) : void
SetFarClippingPlaneDistance ( float far ) : void
SetIPDMeters ( float ipd ) : void
SetNearClippingPlaneDistance ( float near ) : void

비공개 메소드들

메소드 설명
CreateRenderManagerFromUnity ( OSVR ctx ) : Byte
DebugWrapper ( string log ) : void
GetEyePose ( int eye ) : OSVR.ClientKit.Pose3
GetProjectionMatrix ( int eye ) : OSVR_ProjectionMatrix
GetRenderEventFunc ( ) : IntPtr
GetViewport ( int eye ) : OSVR_ViewportDescription
LinkDebug ( [ debugCal ) : void
PerspectiveOffCenter ( float left, float right, float bottom, float top, float near, float far ) : Matrix4x4
SetColorBufferFromUnity ( System texturePtr, int eye ) : void
SetFarClipDistance ( double farClipPlaneDistance ) : void
SetIPD ( double ipdMeters ) : void
SetNearClipDistance ( double nearClipPlaneDistance ) : void
ShutdownRenderManager ( ) : void

메소드 상세

CreateRenderManager() 공개 메소드

public CreateRenderManager ( OSVR clientContext ) : int
clientContext OSVR
리턴 int

ExitRenderManager() 공개 메소드

public ExitRenderManager ( ) : void
리턴 void

GetEyeProjectionMatrix() 공개 메소드

public GetEyeProjectionMatrix ( int eye ) : Matrix4x4
eye int
리턴 Matrix4x4

GetEyeViewport() 공개 메소드

public GetEyeViewport ( int eye ) : OSVR.ClientKit.Viewport
eye int
리턴 OSVR.ClientKit.Viewport

GetRenderEventFunction() 공개 메소드

public GetRenderEventFunction ( ) : IntPtr
리턴 IntPtr

GetRenderManagerEyePose() 공개 메소드

public GetRenderManagerEyePose ( int eye ) : OSVR.ClientKit.Pose3
eye int
리턴 OSVR.ClientKit.Pose3

InitRenderManager() 공개 메소드

public InitRenderManager ( ) : int
리턴 int

IsRenderManagerSupported() 공개 메소드

public IsRenderManagerSupported ( ) : bool
리턴 bool

IsUnityVersionSupported() 공개 메소드

public IsUnityVersionSupported ( ) : bool
리턴 bool

SetEyeColorBuffer() 공개 메소드

public SetEyeColorBuffer ( IntPtr colorBuffer, int eye ) : void
colorBuffer IntPtr
eye int
리턴 void

SetFarClippingPlaneDistance() 공개 메소드

public SetFarClippingPlaneDistance ( float far ) : void
far float
리턴 void

SetIPDMeters() 공개 메소드

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

SetNearClippingPlaneDistance() 공개 메소드

public SetNearClippingPlaneDistance ( float near ) : void
near float
리턴 void