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>SetAmbient</title> 8 </head> 9 <body> 10 <h1>nw::gfx::res::ResAmbientLight::SetAmbient Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void SetAmbient( 15 <span>f32</span> r, 16 <span>f32</span> g, 17 <span>f32</span> b 18); 19 20void SetAmbient( 21 <span>f32</span> r, 22 <span>f32</span> g, 23 <span>f32</span> b, 24 <span>f32</span> a 25); 26 27void SetAmbient( 28 const <a href="../../../../nw/ut/FloatColor/Overview.html">nw::ut::FloatColor</a> & value 29); 30</pre> 31 </div> 32 <h2>List of Overloaded Member Functions</h2> 33 <div class="section"> 34 <table class="members"> 35 <tr> 36 <td> 37 <a href="./SetAmbient(0).html"><CODE>SetAmbient(f32, f32, f32)</CODE> </a> 38 </td> 39 <td>Sets the ambient color of the light.</td> 40 </tr> 41 <tr> 42 <td> 43 <a href="./SetAmbient(1).html">SetAmbient ( f32, f32, f32, f32 ) </a> 44 </td> 45 <td> 46 </td> 47 </tr> 48 <tr> 49 <td> 50 <a href="./SetAmbient(2).html"><CODE>SetAmbient(const nw::ut::FloatColor &)</CODE> </a> 51 </td> 52 <td> 53 </td> 54 </tr> </table> 55 </div> 56 <h2>Description of <CODE>SetAmbient(f32, f32, f32)</CODE></h2> 57 <div class="section"> 58 <p>Sets the ambient color of the light.</p> 59 </div> 60 <h2>Description of SetAmbient(f32, f32, f32, f32)</h2> 61 <div class="section"> 62 <p> 63 </p> 64 </div> 65 <h2>Description of <CODE>SetAmbient(const nw::ut::FloatColor &)</CODE></h2> 66 <div class="section"> 67 <p> 68 </p> 69 </div> 70 <hr><p>CONFIDENTIAL</p></body> 71</html>