|
@@ -217,7 +217,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id=".BACK"><span class="type-signature">(static) </span>BACK<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id=".BACK"><span class="type-signature">(static) </span>BACK<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -228,6 +228,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -261,7 +271,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line205">line 205</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line237">line 237</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -279,7 +289,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id=".FORWARD"><span class="type-signature">(static) </span>FORWARD<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id=".FORWARD"><span class="type-signature">(static) </span>FORWARD<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -290,6 +300,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -323,7 +343,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line210">line 210</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line245">line 245</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -341,7 +361,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id=".LEFT"><span class="type-signature">(static) </span>LEFT<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id=".LEFT"><span class="type-signature">(static) </span>LEFT<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -352,6 +372,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -385,7 +415,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line190">line 190</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line213">line 213</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -403,7 +433,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id=".MIDDLE"><span class="type-signature">(static) </span>MIDDLE<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id=".MIDDLE"><span class="type-signature">(static) </span>MIDDLE<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -414,6 +444,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -447,7 +487,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line195">line 195</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line221">line 221</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -465,7 +505,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id=".RIGHT"><span class="type-signature">(static) </span>RIGHT<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id=".RIGHT"><span class="type-signature">(static) </span>RIGHT<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -476,6 +516,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -509,7 +559,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line200">line 200</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line229">line 229</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -527,7 +577,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="canvas"><span class="type-signature"></span>canvas<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="canvas"><span class="type-signature"></span>canvas<span class="type-signature"> :Element</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -538,6 +588,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">Element</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -571,7 +631,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line58">line 58</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line76">line 76</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -589,17 +649,29 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="delta"><span class="type-signature"></span>delta<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="delta"><span class="type-signature"></span>delta<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
- Pointer movement (coordinates in window space).
|
|
|
+ Pointer movement (coordinates in window space). Since the last update.
|
|
|
+
|
|
|
+This value is accumulated from multiple mouse triggered events between updated.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -633,7 +705,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line38">line 38</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line48">line 48</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -651,7 +723,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="domElement"><span class="type-signature"></span>domElement<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="domElement"><span class="type-signature"></span>domElement<span class="type-signature"> :Element</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -662,6 +734,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">Element</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -695,7 +777,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line53">line 53</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line69">line 69</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -713,7 +795,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="doubleClicked"><span class="type-signature"></span>doubleClicked<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="doubleClicked"><span class="type-signature"></span>doubleClicked<span class="type-signature"> :boolean</span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -724,6 +806,16 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">boolean</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -757,7 +849,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line48">line 48</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line62">line 62</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -775,7 +867,7 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="events"><span class="type-signature"></span>events<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="events"><span class="type-signature"></span>events<span class="type-signature"> :<a href="EventManager.html">EventManager</a></span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -783,13 +875,23 @@ It is responsible for synchronizing user input with the render of the graphics.
|
|
|
<div class="description">
|
|
|
Event manager responsible for updating the raw data variables.
|
|
|
|
|
|
-Diferent events are used depending on the host platform.
|
|
|
+Different events are used depending on the host platform.
|
|
|
|
|
|
When the update method is called the raw data is reset.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="EventManager.html">EventManager</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -823,7 +925,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line71">line 71</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line91">line 91</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -841,7 +943,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="keys"><span class="type-signature"></span>keys<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="keys"><span class="type-signature"></span>keys<span class="type-signature"> :Array.<number></span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -852,6 +954,16 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">Array.<number></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -885,7 +997,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line28">line 28</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line30">line 30</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -903,17 +1015,29 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="position"><span class="type-signature"></span>position<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="position"><span class="type-signature"></span>position<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
Pointer position inside of the window (coordinates in window space).
|
|
|
+
|
|
|
+This value is accumulated from multiple mouse triggered events between updated.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type"><a href="Vector2.html">Vector2</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -947,7 +1071,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line33">line 33</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line39">line 39</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -965,17 +1089,27 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
|
|
|
-<h4 class="name" id="wheel"><span class="type-signature"></span>wheel<span class="type-signature"></span></h4>
|
|
|
+<h4 class="name" id="wheel"><span class="type-signature"></span>wheel<span class="type-signature"> :number</span></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
- Pointer scroll wheel movement.
|
|
|
+ Pointer scroll wheel movement, since the last update.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
+ <h5>Type:</h5>
|
|
|
+ <ul>
|
|
|
+ <li>
|
|
|
+
|
|
|
+<span class="param-type">number</span>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -1009,7 +1143,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line43">line 43</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line55">line 55</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1138,7 +1272,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line261">line 261</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line296">line 296</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1297,7 +1431,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line272">line 272</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line307">line 307</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1456,7 +1590,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line283">line 283</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line318">line 318</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1615,7 +1749,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line250">line 250</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line285">line 285</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1681,7 +1815,9 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
- Create pointer events.
|
|
|
+ Create pointer events to collect input data.
|
|
|
+
|
|
|
+Should be called before using the pointer object.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -1725,7 +1861,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line390">line 390</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line425">line 425</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1769,7 +1905,9 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
- Dispose pointer events.
|
|
|
+ Dispose pointer events, should be called after the objects is no longer required.
|
|
|
+
|
|
|
+If not called leaves the window events created leaving a memory/code leak.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -1813,7 +1951,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line398">line 398</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line435">line 435</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1901,7 +2039,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line239">line 239</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line274">line 274</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -1959,7 +2097,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
|
|
|
|
|
|
- <h4 class="name" id=".setCanvas"><span class="type-signature">(static) </span>setCanvas<span class="signature">(canvas)</span><span class="type-signature"></span></h4>
|
|
|
+ <h4 class="name" id=".setCanvas"><span class="type-signature">(static) </span>setCanvas<span class="signature">(element)</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
|
|
|
|
|
@@ -2003,7 +2141,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
- <td class="name"><code>canvas</code></td>
|
|
|
+ <td class="name"><code>element</code></td>
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
@@ -2060,7 +2198,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line217">line 217</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line252">line 252</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2105,6 +2243,8 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<div class="description">
|
|
|
Update pointer buttons state, position, wheel and delta synchronously.
|
|
|
+
|
|
|
+Should be called every frame on the update loop before reading any values from the pointer.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -2148,7 +2288,7 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line332">line 332</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line365">line 365</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2193,8 +2333,6 @@ When the update method is called the raw data is reset.
|
|
|
|
|
|
<div class="description">
|
|
|
Update a pointer button.
|
|
|
-
|
|
|
-Automatically called by the runtime.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -2310,7 +2448,7 @@ Automatically called by the runtime.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line321">line 321</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line352">line 352</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2355,8 +2493,6 @@ Automatically called by the runtime.
|
|
|
|
|
|
<div class="description">
|
|
|
Update pointer position.
|
|
|
-
|
|
|
-Automatically called by the runtime.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -2518,7 +2654,7 @@ Automatically called by the runtime.
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
- <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line298">line 298</a>
|
|
|
+ <a href="input_Pointer.js.html">input/Pointer.js</a>, <a href="input_Pointer.js.html#line331">line 331</a>
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
@@ -2570,7 +2706,7 @@ Automatically called by the runtime.
|
|
|
<br class="clear">
|
|
|
|
|
|
<footer>
|
|
|
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Wed May 20 2020 00:54:05 GMT+0100 (Western European Summer Time)
|
|
|
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Sun May 24 2020 22:40:54 GMT+0100 (Western European Summer Time)
|
|
|
</footer>
|
|
|
|
|
|
<script> prettyPrint(); </script>
|