Navigation
These archived docs are for Phaser 2.4.7 Phaser 3 docs can be found on newdocs.phaser.io.
Phaser CE docs can be found on the Phaser CE Documentation site.

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)