Class: PointProxy

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

Members

mx : number

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

Type:
  • number
Source:
src/physics/p2/PointProxy.js line 69

my : number

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

Type:
  • number
Source:
src/physics/p2/PointProxy.js line 91

x : number

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

Type:
  • number
Source:
src/physics/p2/PointProxy.js line 25

y : number

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

Type:
  • number
Source:
src/physics/p2/PointProxy.js line 47

phaser-ce@2.20.1 is on GitHub and NPM

Documentation generated by JSDoc 3.6.11 on 2024-10-05 using Tomorrow.