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>Direction</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/VertexLight/Overview.html">VertexLight</a>::Direction</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14const math::VEC3 & Direction() const; 15math::VEC3 & Direction(); 16</pre> 17 </div> 18 <h2>List of Overloaded Member Functions</h2> 19 <div class="section"> 20 <table class="members"> 21 <tr> 22 <td> 23 <a href="./Direction(0).html">Direction ( ) </a> 24 </td> 25 <td>Gets the light direction.</td> 26 </tr> 27 <tr> 28 <td> 29 <a href="./Direction(1).html">Direction ( ) </a> 30 </td> 31 <td>Gets the light direction.</td> 32 </tr> </table> 33 </div> 34 <h2>Description of Direction ( )</h2> 35 <div class="section"><p>Parent node rotation is calculated or copied according to the inheritance flag from m_Direction of the ResLight class by the <a href="../../../nw/gfx/SceneUpdater/Overview.html">SceneUpdater</a> function. Use ResLight::SetDirection if Direction is changed before executing SceneUpdaterUpdateTransformNode, or directly edit Direction after executing <a href="../../../nw/gfx/SceneUpdater/Overview.html">SceneUpdater</a>.</p></div> 36 <h2>Description of Direction ( )</h2> 37 <div class="section"><p>Parent node rotation is calculated or copied according to the inheritance flag from m_Direction of the ResLight class by the <a href="../../../nw/gfx/SceneUpdater/Overview.html">SceneUpdater</a> function. Use ResLight::SetDirection if Direction is changed before executing SceneUpdaterUpdateTransformNode, or directly edit Direction after executing <a href="../../../nw/gfx/SceneUpdater/Overview.html">SceneUpdater</a>.</p></div> 38 <hr><p>CONFIDENTIAL</p></body> 39</html> 40