topical media & game development

talk show tell print

mobile-query-three-docs-symbols-tQuery.World.htm / htm



  
  <!DOCTYPE html>
  <html lang="en">
          <head>
                  <meta charset="utf-8" />
                  <meta name="generator" content="JsDoc Toolkit" />
                  <title>tQuery.World | tQuery library</title>
  
                  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
                  <meta name="mobileoptimized" content="0" />
          
                  <link rel="stylesheet" href="../css/all.css" media="all" />
                  <link rel="stylesheet" href="../css/handheld.css" media="only screen and (max-width: 660px)" />
                  <link rel="stylesheet" href="../css/handheld.css" media="handheld" />
                  <link rel="stylesheet" href="../css/screen.css" media="screen and (min-width: 661px)" />
  
                  <script src="../javascript/all.js"></script>
                  <!--[if lt IE 9]>
                          <script src="../javascript/html5.js"></script>
                  <![endif]-->
          </head>
  
          <body>
  
  <div class="index">
          <div class="menu">
                  <div class="indexLinks">
                          <a href="../index.html">Classes</a>
                          <a href="../files.html">Files</a>
                  </div>
          
                  <h2 class="heading1">Classes</h2>
                  
                  <input type="text" name="classFilter" class="classFilter" id="ClassFilter" placeholder="Filter"></input>
                  
                  <nav>
                          <ul class="classList" id="ClassList">
                                  
                                          <li><a href="../symbols/tQuery.html">tQuery</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Animation.html">tQuery<span class='break'> </span>.<span class='break'> </span>Animation</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Animations.html">tQuery<span class='break'> </span>.<span class='break'> </span>Animations</a></li>
                                  
                                          <li><a href="../symbols/tQuery.createAnimations.html">tQuery<span class='break'> </span>.<span class='break'> </span>createAnimations</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Geometry.html">tQuery<span class='break'> </span>.<span class='break'> </span>Geometry</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Light.html">tQuery<span class='break'> </span>.<span class='break'> </span>Light</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Loop.html">tQuery<span class='break'> </span>.<span class='break'> </span>Loop</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Material.html">tQuery<span class='break'> </span>.<span class='break'> </span>Material</a></li>
                                  
                                          <li><a href="../symbols/tQuery.MD2Character.html">tQuery<span class='break'> </span>.<span class='break'> </span>MD2Character</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Mesh.html">tQuery<span class='break'> </span>.<span class='break'> </span>Mesh</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Node.html">tQuery<span class='break'> </span>.<span class='break'> </span>Node</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Object3D.html">tQuery<span class='break'> </span>.<span class='break'> </span>Object3D</a></li>
                                  
                                          <li><a href="../symbols/tQuery.RatamahattaMD2Character.html">tQuery<span class='break'> </span>.<span class='break'> </span>RatamahattaMD2Character</a></li>
                                  
                                          <li><a href="../symbols/tQuery.Spritesheet.html">tQuery<span class='break'> </span>.<span class='break'> </span>Spritesheet</a></li>
                                  
                                          <li><a href="../symbols/tQuery.World.html">tQuery<span class='break'> </span>.<span class='break'> </span>World</a></li>
                                  
                          </ul>
                  </nav>
          </div>
          <div class="fineprint" style="clear:both">
                  <footer>
                          
                          Documentation generator: <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0<br />
                          Template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview</a> 1.2<br />
                          Generated on:
                          <time datetime='2012-9-23' pubdate>2012-9-23 18:39</time>
                  </footer>
          </div>
  </div>
  
  <div class="index indexStatic"></div>
  
  <div class="content">
          <div class="innerContent">
                  <article>
                          <header>
                                  <h1 class="classTitle">
                                          
                                          Class <span>tQuery.World</span>
                                  </h1>
                                  
                                  <div class="intro">
                                          <p class="description summary">
                                                  tQuery.World
                                          </p>
                                                  
                                          
                                                  <ul class="summary">
                                                          
                                                          
                                                          
                                                                  <li>Defined in: <a href="../symbols/src/js_tquery.world.js.html">tquery.world.js</a></li>
                                                          
                                                          
                                                  </ul>
                                          
                                  </div>
                          </header>
                          
                          
                                  <section>
                                          <div class="props">
                                                  <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class tQuery.World.">
                                                          <caption class="sectionTitle">Class Summary</caption>
                                                          <thead>
                                                                  <tr>
                                                                          <th scope="col">Constructor Attributes</th>
                                                                          <th scope="col">Constructor Name and Description</th>
                                                                  </tr>
                                                          </thead>
                                                          <tbody>
                                                                  <tr>
                                                                          <td class="attributes">&nbsp;</td>
                                                                          <td class="nameDescription" >
                                                                                  <div class="fixedFont">
                                                                                          <b><a href="../symbols/tQuery.World.html#constructor">tQuery.World</a></b>(object)
                                                                                  </div>
                                                                                  <div class="description">Handle world (aka scene+camera+renderer)</div>
                                                                          </td>
                                                                  </tr>
                                                          </tbody>
                                                  </table>
                                          </div>
                                  </section>
                          
                          
                          
          <!--
  
# METHODS SUMMARY --> <section> <div class="props"> <h2 class="sectionTitle">Method Summary</h2> <nav> <table class="summaryTable" id="MethodsList" cellspacing="0" summary="A summary of the methods documented in the class tQuery.World."> <thead> <tr> <th scope="col">Method Attributes</th> <th scope="col">Method Name and Description</th> </tr> </thead> <tbody> <tr class='item0' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#add">add</a></b>(object3D) </div> <div class="description">add an object to the scene</div> </td> </tr> <tr class='item1' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#appendTo">appendTo</a></b>(domElement) </div> <div class="description">append renderer domElement</div> </td> </tr> <tr class='item2' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#destroy">destroy</a></b>() </div> <div class="description">destructor</div> </td> </tr> <tr class='item3' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#hasCameraControls">hasCameraControls</a></b>() </div> <div class="description">test if there is a camera controls</div> </td> </tr> <tr class='item4' > <td class="attributes">&lt;static&gt; &nbsp;</td> <td class="nameDescription"> <div class="fixedFont">tQuery.World.<b><a href="../symbols/tQuery.World.html#.hasWebGL">hasWebGL</a></b>() </div> <div class="description"></div> </td> </tr> <tr class='item5' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#remove">remove</a></b>(object3D) </div> <div class="description">remove an object to the scene</div> </td> </tr> <tr class='item6' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#removeCameraControls">removeCameraControls</a></b>() </div> <div class="description">remove the camera controls</div> </td> </tr> <tr class='item7' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#start">start</a></b>() </div> <div class="description">Start the loop</div> </td> </tr> <tr class='item8' > <td class="attributes">&nbsp;</td> <td class="nameDescription"> <div class="fixedFont"><b><a href="../symbols/tQuery.World.html#stop">stop</a></b>() </div> <div class="description">Stop the loop</div> </td> </tr> </tbody> </table> </nav> </div> </section> <!-- # EVENTS SUMMARY --> <!-- # CONSTRUCTOR DETAILS --> <section> <div class="details props"> <div class="innerProps"> <h2 class="sectionTitle" id="constructor"> Class Detail </h2> <div class="fixedFont"> <b>tQuery.World</b>(object) </div> <div class="description"> Handle world (aka scene+camera+renderer) </div> <dl class="detailList params"> <dt class="heading">Parameters:</dt> <dt> <span class="light fixedFont">{THREE.Material}</span> <b>object</dt> <dd>an instance or an array of instance</dd> </dl> </div> </div> </section> <!-- # FIELD DETAILS --> <!-- # METHOD DETAILS --> <section> <div class="details props"> <div class="innerProps"> <h2 class="sectionTitle"> Method Detail </h2> <ul class="methodDetail" id="MethodDetail"> <li class='item0' > <div class="fixedFont heading" id="add"> <span class='lighter'> </span> <b>add</b>(object3D) </div> <div class="description"> add an object to the scene </div> <dl class="detailList params"> <dt class="heading">Parameters:</dt> <dt> <span class="light fixedFont">{<a href="../symbols/tQuery.Object3D.html">tQuery.Object3D</a>}</span> <b>object3D</b> </dt> <dd>to add to the scene (THREE.Object3D is accepted)</dd> </dl> <div class="hr"></div> </li> <li class='item1' > <div class="fixedFont heading" id="appendTo"> <span class='lighter'> </span> <span class="light">{<a href="../symbols/tQuery.World.html">tQuery.World</a>}</span> <b>appendTo</b>(domElement) </div> <div class="description"> append renderer domElement </div> <dl class="detailList params"> <dt class="heading">Parameters:</dt> <dt> <span class="light fixedFont">{DOMElement}</span> <b>domElement</b> </dt> <dd>the domelement which will be parent</dd> </dl> <dl class="detailList nomargin"> <dt class="heading">Returns:</dt> <dd><span class="light fixedFont">{<a href="../symbols/tQuery.World.html">tQuery.World</a>}</span> for chained API</dd> </dl> <div class="hr"></div> </li> <li class='item2' > <div class="fixedFont heading" id="destroy"> <span class='lighter'> </span> <b>destroy</b>() </div> <div class="description"> destructor </div> <div class="hr"></div> </li> <li class='item3' > <div class="fixedFont heading" id="hasCameraControls"> <span class='lighter'> </span> <span class="light">{Boolean}</span> <b>hasCameraControls</b>() </div> <div class="description"> test if there is a camera controls </div> <dl class="detailList nomargin"> <dt class="heading">Returns:</dt> <dd><span class="light fixedFont">{Boolean}</span> true if there is, false otherwise</dd> </dl> <div class="hr"></div> </li> <li class='item4' > <div class="fixedFont heading" id=".hasWebGL"> <span class='lighter'> &lt;static&gt; </span> <span class="light">{Boolean}</span> <span class="light">tQuery.World.</span><b>hasWebGL</b>() </div> <div class="description"> </div> <dl class="detailList nomargin"> <dt class="heading">Returns:</dt> <dd><span class="light fixedFont">{Boolean}</span> true if webgl is available, false otherwise</dd> </dl> <div class="hr"></div> </li> <li class='item5' > <div class="fixedFont heading" id="remove"> <span class='lighter'> </span> <b>remove</b>(object3D) </div> <div class="description"> remove an object to the scene </div> <dl class="detailList params"> <dt class="heading">Parameters:</dt> <dt> <span class="light fixedFont">{<a href="../symbols/tQuery.Object3D.html">tQuery.Object3D</a>}</span> <b>object3D</b> </dt> <dd>to add to the scene (THREE.Object3D is accepted)</dd> </dl> <div class="hr"></div> </li> <li class='item6' > <div class="fixedFont heading" id="removeCameraControls"> <span class='lighter'> </span> <span class="light">{<a href="../symbols/tQuery.World.html">tQuery.World</a>}</span> <b>removeCameraControls</b>() </div> <div class="description"> remove the camera controls </div> <dl class="detailList nomargin"> <dt class="heading">Returns:</dt> <dd><span class="light fixedFont">{<a href="../symbols/tQuery.World.html">tQuery.World</a>}</span> for chained API</dd> </dl> <div class="hr"></div> </li> <li class='item7' > <div class="fixedFont heading" id="start"> <span class='lighter'> </span> <b>start</b>() </div> <div class="description"> Start the loop </div> <div class="hr"></div> </li> <li class='item8' > <div class="fixedFont heading" id="stop"> <span class='lighter'> </span> <b>stop</b>() </div> <div class="description"> Stop the loop </div> </li> </ul> </div> </div> </section> <!-- # EVENT DETAILS --> </article> </div> </div>

                  <script type="text/javascript">
                          wbos.CssTools.MediaQueryFallBack.LoadCss('../css/screen.css', '../css/handheld.css', 660)
                          codeview.classFilter.Init()
                  </script>
          </body>
  </html>
  
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.