mirror of
https://github.com/photonstorm/phaser
synced 2024-12-30 06:53:07 +00:00
1 line
1.7 KiB
JSON
1 line
1.7 KiB
JSON
|
{"class":{"name":"PIXI.InteractionData","extends":"","static":false,"constructor":true,"parameters":[],"help":"Holds all information related to an Interaction event"},"consts":[],"methods":{"public":[{"name":"getLocalPosition","static":false,"returns":{"types":["Phaser.Point"],"help":"A point containing the coordinates of the InteractionData position relative to the DisplayObject"},"help":"This will return the local coordinates of the specified displayObject for this InteractionData","line":46,"public":true,"protected":false,"private":false,"parameters":[{"name":"displayObject","type":["PIXI.DisplayObject"],"help":"The DisplayObject that you would like the local coords off","optional":false,"default":null},{"name":"[point]","type":["Phaser.Point"],"help":"A Point object in which to store the value, optional (otherwise will create a new point)","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"global","type":["Phaser.Point"],"help":"This point stores the global coords of where the touch\/mouse event happened","inlineHelp":"","line":19,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"originalEvent","type":["Event"],"help":"When passed to an event handler, this will be the original DOM Event that was captured","inlineHelp":"","line":35,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"target","type":["PIXI.Sprite"],"help":"The target Sprite that was interacted with","inlineHelp":"","line":27,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|