SetLimitParallax

nn::ulcd::CTR::StereoCamera::SetLimitParallax Member Function

Syntax

#include <nn/ulcd.h>

void SetLimitParallax(
     const f32 limit
);

Parameters

Name Description
in limit The parallax limit (in mm) to set.

Return Values

None.

Description

Sets the parallax limit for objects that appear to be going into the screen (the depth direction).

limit can be set to a value between 0 and the maximum parallax value in the depth direction as fixed in the guidelines. However, at the present time if you specify a value above the maximum value, only a warning will be output and the value will be applied.

limit is reflected in the result of the CalculateMatrices function. To be specific, the parallax specified by this function is applied when calculating objects located in the far clipping plane on the LCD.

The parallax limit set by this function is valid only for objects that appear to be going into the screen using the application-priority method.

Revision History

2011/06/22
Added to description to match the documentation.
2010/08/16
Added Description.
2010/06/14
Initial version.

CONFIDENTIAL