Class: Phaser.Physics.P2.InversePointProxy
Constructor
new InversePointProxy(world, destination)
A InversePointProxy is an internal class that allows for direct getter/setter style property access to Arrays and TypedArrays but inverses the values on set.
Parameters
Name | Type | Description |
---|---|---|
world | Phaser.Physics.P2 | A reference to the P2 World. |
destination | any | The object to bind to. |
- Source code: physics/p2/InversePointProxy.js (Line 15)
Public Properties
- Source code: physics/p2/InversePointProxy.js (Line 64)
- Source code: physics/p2/InversePointProxy.js (Line 84)
- Source code: physics/p2/InversePointProxy.js (Line 24)
- Source code: physics/p2/InversePointProxy.js (Line 44)
mx : number
The x property of this InversePointProxy get and set in meters.
my : number
The y property of this InversePointProxy get and set in meters.
x : number
The x property of this InversePointProxy get and set in pixels.
y : number
The y property of this InversePointProxy get and set in pixels.
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Physics.P2.InversePointProxy.html