Phaser.Physics.P2. PointProxy

new PointProxy(world, destination)

A PointProxy is an internal class that allows for direct getter/setter style property access to Arrays and TypedArrays.

Parameters:
Name Type Description
world Phaser.Physics.P2

A reference to the P2 World.

destination any

The object to bind to.

Source - physics/p2/PointProxy.js, line 15

Members

mx :number

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

Source - physics/p2/PointProxy.js, line 64

my :number

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

Source - physics/p2/PointProxy.js, line 84

x :number

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

Source - physics/p2/PointProxy.js, line 24

y :number

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

Source - physics/p2/PointProxy.js, line 44
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-alpha10 on Thu Mar 26 2015 02:53:55 GMT+0000 (GMT Standard Time) using the DocStrap template.