Skip to content

Commit 9838176

Browse files
target property added to PIXI.InteractiveData
docs updated to reflect change
1 parent 74b2667 commit 9838176

8 files changed

+105
-21
lines changed

bin/pixi.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/InteractionData.html

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h1>InteractionData Class</h1>
122122

123123

124124
<div class="foundat">
125-
Defined in: <a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l319"><code>pixi&#x2F;InteractionManager.js:319</code></a>
125+
Defined in: <a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l323"><code>pixi&#x2F;InteractionManager.js:323</code></a>
126126
</div>
127127

128128

@@ -176,7 +176,7 @@ <h3 class="name"><code>InteractionData</code></h3>
176176

177177

178178

179-
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l319"><code>pixi&#x2F;InteractionManager.js:319</code></a>
179+
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l323"><code>pixi&#x2F;InteractionManager.js:323</code></a>
180180

181181
</p>
182182

@@ -236,6 +236,13 @@ <h3>Properties</h3>
236236

237237

238238

239+
</li>
240+
241+
<li class="index-item property">
242+
<a href="#property_target">target</a>
243+
244+
245+
239246
</li>
240247

241248
</ul>
@@ -277,7 +284,7 @@ <h3 class="name"><code>global</code></h3>
277284

278285

279286

280-
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l325"><code>pixi&#x2F;InteractionManager.js:325</code></a>
287+
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l329"><code>pixi&#x2F;InteractionManager.js:329</code></a>
281288

282289
</p>
283290

@@ -321,7 +328,7 @@ <h3 class="name"><code>local</code></h3>
321328

322329

323330

324-
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l332"><code>pixi&#x2F;InteractionManager.js:332</code></a>
331+
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l336"><code>pixi&#x2F;InteractionManager.js:336</code></a>
325332

326333
</p>
327334

@@ -339,6 +346,50 @@ <h3 class="name"><code>local</code></h3>
339346

340347

341348

349+
</div>
350+
351+
352+
<div id="property_target" class="property item">
353+
<h3 class="name"><code>target</code></h3>
354+
<span class="type"><a href="../classes/Sprite.html" class="crosslink">Sprite</a></span>
355+
356+
357+
358+
359+
360+
361+
362+
363+
364+
<div class="meta">
365+
366+
367+
368+
<p>
369+
370+
Defined in
371+
372+
373+
374+
375+
<a href="..&#x2F;files&#x2F;pixi_InteractionManager.js.html#l343"><code>pixi&#x2F;InteractionManager.js:343</code></a>
376+
377+
</p>
378+
379+
380+
381+
382+
</div>
383+
384+
<div class="description">
385+
<p>The target Sprite that was interacted with</p>
386+
</div>
387+
388+
389+
390+
391+
392+
342393
</div>
343394

344395

docs/data.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
"extension_for": [],
465465
"module": "PIXI",
466466
"file": "pixi/InteractionManager.js",
467-
"line": 319,
467+
"line": 323,
468468
"is_constructor": 1
469469
},
470470
"MovieClip": {
@@ -1457,7 +1457,7 @@
14571457
},
14581458
{
14591459
"file": "pixi/InteractionManager.js",
1460-
"line": 325,
1460+
"line": 329,
14611461
"description": "This point stores the global coords of where the touch/mouse event happened",
14621462
"itemtype": "property",
14631463
"name": "global",
@@ -1466,13 +1466,22 @@
14661466
},
14671467
{
14681468
"file": "pixi/InteractionManager.js",
1469-
"line": 332,
1469+
"line": 336,
14701470
"description": "This point stores the local coords of where the touch/mouse event happened",
14711471
"itemtype": "property",
14721472
"name": "local",
14731473
"type": "Point",
14741474
"class": "InteractionData"
14751475
},
1476+
{
1477+
"file": "pixi/InteractionManager.js",
1478+
"line": 343,
1479+
"description": "The target Sprite that was interacted with",
1480+
"itemtype": "property",
1481+
"name": "target",
1482+
"type": "Sprite",
1483+
"class": "InteractionData"
1484+
},
14761485
{
14771486
"file": "pixi/MovieClip.js",
14781487
"line": 1,

docs/files/pixi_DisplayObject.js.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ <h1 class="file-heading">File: pixi&#x2F;DisplayObject.js</h1>
227227
mat3.multiply(this.localTransform, this.parent.worldTransform, this.worldTransform);
228228
this.worldAlpha = this.alpha * this.parent.worldAlpha;
229229
}
230+
230231
</pre>
231232
</div>
232233

0 commit comments

Comments
 (0)