These docs are for an outdated version of Phaser The documentation on this page is for Phaser 2.4.6. The latest release is 2.7.10.

Constructor

Phaser.Physics.P2. Material

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)