Class: Phaser.Physics.P2.Material

Constructor

new Material(name)

A P2 Material.

\o/ ~ "Because I'm a Material girl"

Parameters
Name Type Description
name string

The user defined name given to this Material.

Source code: physics/p2/Material.js (Line 16)

Public Properties

name : string

The user defined name given to this Material.

Source code: physics/p2/Material.js (Line 22)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Physics.P2.Material.html