|
@@ -205,7 +205,7 @@ New object types should be added using the Object2D.register() method.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line227">line 227</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line236">line 236</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -487,7 +487,7 @@ Should be implemented by underlying classes.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line474">line 474</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line483">line 483</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1211,7 +1211,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line516">line 516</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line525">line 525</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1273,7 +1273,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line582">line 582</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line591">line 591</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1335,7 +1335,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line566">line 566</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line575">line 575</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1397,7 +1397,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line590">line 590</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line599">line 599</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1459,7 +1459,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line574">line 574</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line583">line 583</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1521,7 +1521,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line509">line 509</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line518">line 518</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1583,7 +1583,7 @@ The matrix is updated before rendering the object, after the matrix is updated t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line501">line 501</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line510">line 510</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1647,7 +1647,7 @@ It is not called while the pointer is inside of the object, just on the first ti
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line542">line 542</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line551">line 551</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1709,7 +1709,7 @@ It is not called while the pointer is inside of the object, just on the first ti
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line550">line 550</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line559">line 559</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1771,7 +1771,7 @@ It is not called while the pointer is inside of the object, just on the first ti
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line558">line 558</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line567">line 567</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1833,7 +1833,7 @@ It is not called while the pointer is inside of the object, just on the first ti
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line523">line 523</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line532">line 532</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1899,7 +1899,7 @@ This method is called for every object before rendering.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line532">line 532</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line541">line 541</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2575,6 +2575,80 @@ The world scale of the object is affected by the parent transform.
|
|
|
|
|
|
|
|
|
|
|
|
+<h4 class="name" id="serializable"><span class="type-signature"></span>serializable<span class="type-signature"> :boolean</span></h4>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<div class="description">
|
|
|
+ Indicates if the object should be serialized or not as a child of another object.
|
|
|
+
|
|
|
+Used to prevent duplicate serialization data on custom objects. Should be set false for objects added on constructor.
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<dl class="details">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <dt class="tag-source">Source:</dt>
|
|
|
+ <dd class="tag-source"><ul class="dummy"><li>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line210">line 210</a>
|
|
|
+ </li></ul></dd>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</dl>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<h4 class="name" id="style"><span class="type-signature"></span>style<span class="type-signature"></span></h4>
|
|
|
|
|
|
|
|
@@ -2623,7 +2697,7 @@ Should be implemented by underlying classes.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line463">line 463</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line472">line 472</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2699,7 +2773,7 @@ If this type is from an external library you can add the library name to the obj
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line215">line 215</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line224">line 224</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2976,7 +3050,7 @@ First all objects instances are created to ensure that object trying to get refe
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line692">line 692</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line704">line 704</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3160,7 +3234,7 @@ Should be called for every new object class implemented if you want to be able t
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line237">line 237</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line246">line 246</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3299,7 +3373,7 @@ The object is set as children of this object and the transformations applied to
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line358">line 358</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line367">line 367</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3387,7 +3461,7 @@ The object is set as children of this object and the transformations applied to
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line307">line 307</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line316">line 316</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3524,7 +3598,7 @@ The object is set as children of this object and the transformations applied to
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line336">line 336</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line345">line 345</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3706,7 +3780,7 @@ The object is set as children of this object and the transformations applied to
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line249">line 249</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line258">line 258</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -3869,7 +3943,7 @@ To check if a point in world coordinates intersects the object the inverseGlobal
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line411">line 411</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line420">line 420</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4051,7 +4125,7 @@ To check if a point in world coordinates intersects the object the inverseGlobal
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line279">line 279</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line288">line 288</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4285,7 +4359,7 @@ To detect when the object drag stops the onPointerDragEnd() method can be used.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line490">line 490</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line499">line 499</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4449,7 +4523,7 @@ Dont forget to register object types using the Object2D.register() method.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line654">line 654</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line666">line 666</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4586,7 +4660,7 @@ Dont forget to register object types using the Object2D.register() method.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line379">line 379</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line388">line 388</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4727,7 +4801,7 @@ Data has to be parsed back into a usable object.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line602">line 602</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line611">line 611</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -4934,7 +5008,7 @@ This is called before style() and draw(). It can also be used for some pre-rende
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line447">line 447</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line456">line 456</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -5071,7 +5145,7 @@ This is called before style() and draw(). It can also be used for some pre-rende
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line320">line 320</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line329">line 329</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -5208,7 +5282,7 @@ This is called before style() and draw(). It can also be used for some pre-rende
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line421">line 421</a>
|
|
|
+ <a href="Object2D.js.html">Object2D.js</a>, <a href="Object2D.js.html#line430">line 430</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -5260,7 +5334,7 @@ This is called before style() and draw(). It can also be used for some pre-rende
|
|
|
<br class="clear">
|
|
|
|
|
|
<footer>
|
|
|
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Mon May 18 2020 18:45:41 GMT+0100 (Western European Summer Time)
|
|
|
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Tue May 19 2020 10:16:35 GMT+0100 (Western European Summer Time)
|
|
|
</footer>
|
|
|
|
|
|
<script> prettyPrint(); </script>
|