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. |
Members
-
mx : number
-
The x property of this InversePointProxy get and set in meters.
Type:
- number
-
my : number
-
The y property of this InversePointProxy get and set in meters.
Type:
- number
-
x : number
-
The x property of this InversePointProxy get and set in pixels.
Type:
- number
-
y : number
-
The y property of this InversePointProxy get and set in pixels.
Type:
- number