Класс: Phaser.Physics.P2.ContactMaterial
Конструктор
new ContactMaterial(materialA, materialB, options)
Определяет физический материал
Параметры
| Имя | Тип | Аргумент | Описание |
|---|---|---|---|
materialA | Phaser.Physics.P2.Material | Первый материал, участвующий в материале контакта. | |
materialB | Phaser.Physics.P2.Material | Второй материал, участвующий в материале контакта. | |
options | object | <optional> | Дополнительные параметры конфигурации. |
- Исходный код: physics/p2/ContactMaterial.js (Строка 16)
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Physics.P2.ContactMaterial.html