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>CreateAimCamera</title>
8  </head>
9  <body>
10    <h1>nw::demo::Utility::CreateAimCamera Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14static <a href="../../../nw/gfx/Camera/Overview.html">nw::gfx::Camera</a> * CreateAimCamera(
15     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
16     const nw::math::VEC3 & cameraPosition = <a href="../../../nw/demo/Utility/CAMERA_POSITION.html">CAMERA_POSITION</a>,
17     const nw::math::VEC3 & targetPosition = <a href="../../../nw/demo/Utility/TARGET_POSITION.html">TARGET_POSITION</a>,
18     <span>f32</span> nearClip = <a href="../../../nw/demo/Utility/NEAR_CLIP.html">NEAR_CLIP</a>,
19     <span>f32</span> farClip = <a href="../../../nw/demo/Utility/FAR_CLIP.html">FAR_CLIP</a>,
20     <span>f32</span> fovyRadian = <a href="../../../nw/demo/Utility/FOVY_RADIAN.html">FOVY_RADIAN</a>,
21     nw::math::PivotDirection pivotDirection = nw::math::PIVOT_UPSIDE_TO_TOP,
22     <span>f32</span> wScale = 0.0f
23);
24</pre>
25    </div>
26    <h2>Arguments</h2>
27    <div class="section">
28      <table class="arguments">
29        <thead>
30          <tr>
31            <td width="15" />
32            <th>Name</th>
33            <td>Description</td>
34          </tr>
35        </thead>
36        <tr>
37          <td>in</td>
38          <th>allocator</th>
39          <td>Allocator used for generation.</td>
40        </tr>
41        <tr>
42          <td>in</td>
43          <th><CODE>cameraPosition</CODE></th>
44          <td>Camera position coordinates.</td>
45        </tr>
46        <tr>
47          <td>in</td>
48          <th>targetPosition</th>
49          <td>Camera target coordinates.</td>
50        </tr>
51        <tr>
52          <td>in</td>
53          <th>nearClip</th>
54          <td>Near clip value.</td>
55        </tr>
56        <tr>
57          <td>in</td>
58          <th>farClip</th>
59          <td>Far clip value.</td>
60        </tr>
61        <tr>
62          <td>in</td>
63          <th>fovyRadian</th>
64          <td>FOV Y direction value.</td>
65        </tr>
66        <tr>
67          <td>in</td>
68          <th>pivotDirection</th>
69          <td>Upward direction of the screen.</td>
70        </tr>
71        <tr>
72          <td>in</td>
73          <th>wScale</th>
74          <td>wScale value.</td>
75        </tr> </table>
76    </div>
77    <h2>Return Values</h2>
78    <div class="section">Returns the camera that was created. </div>
79    <h2>Description</h2>
80    <div class="section">
81      <p>Creates a camera.</p>
82    </div>
83  <hr><p>CONFIDENTIAL</p></body>
84</html>