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>CreateOrthoCamera</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>::CreateOrthoCamera</CODE> 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> * CreateOrthoCamera( 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 const nw::math::VEC2 & projectionCenter = <a href="../../../nw/demo/Utility/PROJECTION_CENTER.html">PROJECTION_CENTER</a>, 21 <span>f32</span> projectionHeight = <a href="../../../nw/demo/Utility/PROJECTION_HEIGHT.html">PROJECTION_HEIGHT</a>, 22 nw::math::PivotDirection pivotDirection = nw::math::PIVOT_UPSIDE_TO_TOP, 23 <span>f32</span> wScale = 0.0f 24); 25</pre> 26 </div> 27 <h2>Arguments</h2> 28 <div class="section"> 29 <table class="arguments"> 30 <thead> 31 <tr> 32 <td width="15" /> 33 <th>Name</th> 34 <td>Description</td> 35 </tr> 36 </thead> 37 <tr> 38 <td>in</td> 39 <th>allocator</th> 40 <td>Allocator used for generation.</td> 41 </tr> 42 <tr> 43 <td>in</td> 44 <th><CODE>cameraPosition</CODE></th> 45 <td>Camera position coordinates.</td> 46 </tr> 47 <tr> 48 <td>in</td> 49 <th>targetPosition</th> 50 <td>Camera target coordinates.</td> 51 </tr> 52 <tr> 53 <td>in</td> 54 <th>nearClip</th> 55 <td>Near clip value.</td> 56 </tr> 57 <tr> 58 <td>in</td> 59 <th>farClip</th> 60 <td>Far clip value.</td> 61 </tr> 62 <tr> 63 <td>in</td> 64 <th>projectionCenter</th> 65 <td>The projection center position.</td> 66 </tr> 67 <tr> 68 <td>in</td> 69 <th>projectionHeight</th> 70 <td>The projection height.</td> 71 </tr> 72 <tr> 73 <td>in</td> 74 <th>pivotDirection</th> 75 <td>Upward direction of the screen.</td> 76 </tr> 77 <tr> 78 <td>in</td> 79 <th>wScale</th> 80 <td>wScale value.</td> 81 </tr> </table> 82 </div> 83 <h2>Return Values</h2> 84 <div class="section">Returns the camera that was created. </div> 85 <h2>Description</h2> 86 <div class="section"> 87 <p>Creates a camera.</p> 88 </div> 89 <hr><p>CONFIDENTIAL</p></body> 90</html> 91