nn::ulcd::CTR::StereoCamera Classclass StereoCamera
Class that supports the creation of camera matrices for rendering images that take binocular parallax into account.
StereoCamera
|
Creates the module that generates camera matrices for stereoscopic vision. No initialization is performed. | |
|---|---|---|
~StereoCamera
|
Destroys the module that generates camera matrices for stereoscopic vision. | |
Initialize
|
Initializes the module that generates camera matrices for stereoscopic vision. | |
Finalize
|
Finalizes the module that generates camera matrices for stereoscopic vision. | |
SetBaseFrustum
|
Sets the parameters that form the base camera's view volume. | |
SetBaseCamera
|
Sets the base camera's view matrix. | |
SetLimitParallax
|
Sets the parallax limit for objects that appear to be going into the screen (the depth direction). | |
CalculateMatrices
|
Calculates the view matrices and projection matrices for the left and right cameras, using the application priority method. | |
CalculateMatricesReal
|
Calculates the view matrices and projection matrices for the left and right cameras, using the realism priority method. | |
GetParallax
|
Gets the parallax of a point located a specified distance away from the camera. The parallax is expressed as a ratio of the screen width. | |
GetMaxParallax
|
Gets the parallax at the farthest possible distance. The parallax is expressed as a ratio of the screen width. | |
GetLimitParallax
|
Gets the parallax limit configured for objects that appear to be going into the screen (the depth direction). | |
GetDistanceToLevel
|
Gets the distance from the camera to the base plane. | |
GetDistanceToNearClip
|
Gets the distance from the camera to the near clipping plane. | |
GetDistanceToFarClip
|
Gets the distance from the camera to the far clipping plane. |
CONFIDENTIAL