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>CreateStereoCameras</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::<a href="../../../nw/demo/Utility/Overview.html">Utility</a>::CreateStereoCameras</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14static void CreateStereoCameras(
15     <a href="../../../nw/gfx/Camera/Overview.html">nw::gfx::Camera</a> ** ppBaseCamera,
16     <a href="../../../nw/gfx/Camera/Overview.html">nw::gfx::Camera</a> ** ppLeftCamera,
17     <a href="../../../nw/gfx/Camera/Overview.html">nw::gfx::Camera</a> ** ppRightCamera,
18     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
19     const nw::math::VEC3 & cameraPosition = <a href="../../../nw/demo/Utility/CAMERA_POSITION.html">CAMERA_POSITION</a>,
20     const nw::math::VEC3 & targetPosition = <a href="../../../nw/demo/Utility/TARGET_POSITION.html">TARGET_POSITION</a>,
21     <span>f32</span> nearClip = <a href="../../../nw/demo/Utility/NEAR_CLIP.html">NEAR_CLIP</a>,
22     <span>f32</span> farClip = <a href="../../../nw/demo/Utility/FAR_CLIP.html">FAR_CLIP</a>,
23     <span>f32</span> fovyRadian = <a href="../../../nw/demo/Utility/FOVY_RADIAN.html">FOVY_RADIAN</a>,
24     <span>f32</span> wScale = 0.0f
25);
26</pre>
27    </div>
28    <h2>Arguments</h2>
29    <div class="section">
30      <table class="arguments">
31        <thead>
32          <tr>
33            <td width="15" />
34            <th>Name</th>
35            <td>Description</td>
36          </tr>
37        </thead>
38        <tr>
39          <td>out</td>
40          <th>ppBaseCamera</th>
41          <td>Pointer for returning the created base camera.</td>
42        </tr>
43        <tr>
44          <td>out</td>
45          <th>ppLeftCamera</th>
46          <td>Pointer for returning the created right-eye camera.</td>
47        </tr>
48        <tr>
49          <td>out</td>
50          <th>ppRightCamera</th>
51          <td>Pointer for returning the created left-eye camera.</td>
52        </tr>
53        <tr>
54          <td>in</td>
55          <th>allocator</th>
56          <td>Allocator used for generation.</td>
57        </tr>
58        <tr>
59          <td>in</td>
60          <th><CODE>cameraPosition</CODE></th>
61          <td>Camera position coordinates.</td>
62        </tr>
63        <tr>
64          <td>in</td>
65          <th>targetPosition</th>
66          <td>Camera target coordinates.</td>
67        </tr>
68        <tr>
69          <td>in</td>
70          <th>nearClip</th>
71          <td>Near clip value.</td>
72        </tr>
73        <tr>
74          <td>in</td>
75          <th>farClip</th>
76          <td>Far clip value.</td>
77        </tr>
78        <tr>
79          <td>in</td>
80          <th>fovyRadian</th>
81          <td>FOV Y direction value.</td>
82        </tr>
83        <tr>
84          <td>in</td>
85          <th>wScale</th>
86          <td>wScale value.</td>
87        </tr> </table>
88    </div>
89    <h2>Return Values</h2>
90    <div class="section">
91                None.
92               </div>
93    <h2>Description</h2>
94    <div class="section">
95      <p>Creates the base camera and the right/left eye cameras for stereoscopic vision.</p><p>There is no actual distinction made between the right-eye camera and the left-eye camera.</p></div>
96  <hr><p>CONFIDENTIAL</p></body>
97</html>
98