1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>Get3DVolume</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/ulcd/Overview.html">ulcd</a>::<a href="../../../nn/ulcd/CTR/Overview.html">CTR</a>::Get3DVolume</CODE> Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/ulcd.h&gt;
14
15<a href="../../../nn_types/f32.html">f32</a> Get3DVolume();
16</pre>
17    </div>
18    <h2>Parameters</h2>
19    <div class="section">
20      <p>None.</p>
21    </div>
22    <h2>Return Values</h2>
23    <div class="section">Returns a value between <CODE>0.0</CODE> and <CODE>1.0</CODE>. </div>
24    <h2>Description</h2>
25    <div class="section">
26      <p>Gets the value of the 3D depth slider.</p><!-- write here --><p>
27            This function returns <CODE>0</CODE> regardless of the depth slider position, if a restriction has been placed on viewing in 3D (specifiable under system settings).
28            </p><p>
29             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 <a href="../../../nn/ulcd/CTR/StereoCamera/Overview.html"><CODE>nn::ulcd::CTR::StereoCamera</CODE></a> class.
30</p><p><strong><B>Note:</B></strong><br /><br />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.
31            </p></div>
32    <h2>Revision History</h2>
33    <div class="section">
34      <dl class="history">
35        <dt>2011/12/27</dt>
36        <dd>Initial version.<br />
37        </dd>
38      </dl>
39    </div>
40  <hr><p>CONFIDENTIAL</p></body>
41</html>