Description
class CollisionCache
Methods
getMeshes() → { [n: number]: SerializedMesh }
getGeometries() → { [s: number]: SerializedGeometry }
getMesh(id) → SerializedMesh
Parameters
|
Name |
Type |
Description |
|
id |
any |
|
addMesh(mesh) → void
Parameters
|
Name |
Type |
Description |
|
mesh |
SerializedMesh |
|
removeMesh(uniqueId) → void
Parameters
|
Name |
Type |
Description |
|
uniqueId |
number |
|
getGeometry(id) → SerializedGeometry
Parameters
|
Name |
Type |
Description |
|
id |
string |
|
addGeometry(geometry) → void
Parameters
|
Name |
Type |
Description |
|
geometry |
SerializedGeometry |
|
removeGeometry(id) → void
Parameters
|
Name |
Type |
Description |
|
id |
string |
|