@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createMeshGeometryComponent
Function: createMeshGeometryComponent()
ts
function createMeshGeometryComponent(
world,
entityId, ...
args): MeshGeometryComponent;Defined in: factories/components/MeshGeometryFactory.ts:4
Parameters
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [EditableMeshObjectKind, Object3D<Object3DEventMap> | null, Partial<MeshGeometryParameters>, { modelName?: string; castShadow?: boolean; receiveShadow?: boolean; }] |

