@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createMeshComponent
Function: createMeshComponent()
ts
function createMeshComponent(
world,
entityId, ...
args): MeshComponent;Defined in: factories/components/MeshFactory.ts:4
Parameters
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [Object3D<Object3DEventMap>] |

