nw::font::RectDrawer::SetParallax Member Function

Syntax

void SetParallax(
     f32 parallax,
     f32 dLevel,
     f32 addDist = 0.0f
);

Arguments

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.

Return Values

None.

Description

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.

Revision History

2011/02/01
Added a description of samples.
2010/06/24
Initial version.

CONFIDENTIAL