setMaterial(material, fixtureKey)
Parameters
| Name | Type | Description |
|---|---|---|
material | Object | The contact material for a fixture |
fixtureKey | string | Only apply to the fixture with the given key |
- Source code: physics/p2/FixtureList.js (Line 108)
setMaterial(material, fixtureKey)
| Name | Type | Description |
|---|---|---|
material | Object | The contact material for a fixture |
fixtureKey | string | Only apply to the fixture with the given key |
Please login to continue.