nw::font::RectDrawer::SetParallax Member Function
void SetParallax(
f32 parallax,
f32 dLevel,
f32 addDist = 0.0f
);
| Name | Description | |
|---|---|---|
| in | parallax | The parallax. |
| in | dLevel | Distance from camera to the base plane. |
| in | addDist | Value to add to the distance from the camera. |
Sets the parallax parameters.
Use of this function now allows drawings where parallax is applied to both the left- and right-eye images when drawing using orthogonal projection. For details on its use, see the orthoStereo sample program for the Layout library.
CONFIDENTIAL