Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
Camera ( ) : System |
|
|
GetCameraMatrix ( StereoEye stereoEye ) : System.Matrix |
Gets camera matrix for given stereo eye.
|
|
GetCameraPosition ( StereoEye stereoEye ) : System.Vector3 |
Returns camera position as Vector3
|
|
GetCameraPosition4 ( StereoEye stereoEye ) : System.Vector4 |
Returns camera position as Vector4
|
|
GetProjectionMatrix ( StereoEye stereoEye ) : System.Matrix |
Gets projection matrix for given stereo eye.
|
|
GetViewMatrix ( StereoEye stereoEye ) : System.Matrix |
Gets view matrix for given stereo eye.
|
|
SetupCamera ( System.Matrix viewMatrix, float height, float width, float near, float far, float convergence, float separation ) : void |
Sets camera up.
|
|
SetupCameraCubeFace ( System.Vector3 origin, CubeFace cubeFace, float near, float far ) : void |
|
|
SetupCameraFov ( System.Matrix view, float fov, float near, float far, float convergence, float separation, float aspectRatio ) : void |
Setups camera.
|
|
SetupCameraFov ( System.Vector3 origin, System.Vector3 target, System.Vector3 up, float fov, float near, float far, float convergence, float separation, float aspectRatio ) : void |
Setups camera.
|
public GetCameraMatrix ( StereoEye stereoEye ) : System.Matrix | ||
stereoEye | StereoEye | |
Результат | System.Matrix |
public GetCameraPosition ( StereoEye stereoEye ) : System.Vector3 | ||
stereoEye | StereoEye | |
Результат | System.Vector3 |
public GetCameraPosition4 ( StereoEye stereoEye ) : System.Vector4 | ||
stereoEye | StereoEye | |
Результат | System.Vector4 |
public GetProjectionMatrix ( StereoEye stereoEye ) : System.Matrix | ||
stereoEye | StereoEye | |
Результат | System.Matrix |
public GetViewMatrix ( StereoEye stereoEye ) : System.Matrix | ||
stereoEye | StereoEye | |
Результат | System.Matrix |
public SetupCamera ( System.Matrix viewMatrix, float height, float width, float near, float far, float convergence, float separation ) : void | ||
viewMatrix | System.Matrix | View matrix. The left-eye and right-eye view matricies will be constructed from this matrix. |
height | float | Frustum with at near plane. |
width | float | Frustum height ar near place. |
near | float | Camera near clipping plane distance. |
far | float | Camera far clipping plane distance. |
convergence | float | |
separation | float | Stereo separation or distance between eyes. |
Результат | void |
public SetupCameraCubeFace ( System.Vector3 origin, CubeFace cubeFace, float near, float far ) : void | ||
origin | System.Vector3 | |
cubeFace | CubeFace | |
near | float | |
far | float | |
Результат | void |
public SetupCameraFov ( System.Matrix view, float fov, float near, float far, float convergence, float separation, float aspectRatio ) : void | ||
view | System.Matrix | |
fov | float | |
near | float | |
far | float | |
convergence | float | |
separation | float | |
aspectRatio | float | |
Результат | void |
public SetupCameraFov ( System.Vector3 origin, System.Vector3 target, System.Vector3 up, float fov, float near, float far, float convergence, float separation, float aspectRatio ) : void | ||
origin | System.Vector3 | Camera's origin |
target | System.Vector3 | Vector directed toward the target |
up | System.Vector3 | Camera's up vector |
fov | float | Camera FOV in radians |
near | float | Near Z-clipping plane distance |
far | float | Fat Z-clipping place distance |
convergence | float | Stereo convergence distance |
separation | float | Stereo camera separation |
aspectRatio | float | Viewport width divided by viewport height |
Результат | void |