Class: InversePointProxy

Phaser.Physics.P2. InversePointProxy

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:
src/physics/p2/InversePointProxy.js line 15

Members

mx : number

The x property of this InversePointProxy get and set in meters.

Type:
  • number
Source:
src/physics/p2/InversePointProxy.js line 64

my : number

The y property of this InversePointProxy get and set in meters.

Type:
  • number
Source:
src/physics/p2/InversePointProxy.js line 84

x : number

The x property of this InversePointProxy get and set in pixels.

Type:
  • number
Source:
src/physics/p2/InversePointProxy.js line 24

y : number

The y property of this InversePointProxy get and set in pixels.

Type:
  • number
Source:
src/physics/p2/InversePointProxy.js line 44

phaser-ce@2.8.8 is on GitHub and NPM

Documentation generated by JSDoc 3.5.4 on 2017-09-25 using Tomorrow.