nn::ulcd::CTR::Get3DVolume Function

Syntax

#include <nn/ulcd.h>

f32 Get3DVolume();

Parameters

None.

Return Values

Returns a value between 0.0 and 1.0.

Description

Gets the value of the 3D depth slider.

This function returns 0 regardless of the depth slider position, if a restriction has been placed on viewing in 3D (specifiable under system settings).

This function is anticipated to be used for adding ancillary visual effects (such as softening) to the parallax effect dependent on the position of the 3D depth slider. For the actual creation of camera matrices for stereoscopic viewing, use the nn::ulcd::CTR::StereoCamera class.

Note:

You must contact Nintendo before submitting product ROMs that use this function. Be sure to thoroughly investigate all of the latest guidelines related to stereoscopic displays first, and then consult with Nintendo support when your plans have solidified.

Revision History

2011/12/27
Initial version.

CONFIDENTIAL