Spec-Zone.ru › Phaser

Class: Phaser.Physics.P2.ContactMaterial

Constructor

new ContactMaterial(materialA, materialB, options)

Defines a physics material

Parameters
Name Type Argument Description
materialA Phaser.Physics.P2.Material

First material participating in the contact material.

materialB Phaser.Physics.P2.Material

Second material participating in the contact material.

options object <optional>

Additional configuration options.

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

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API