@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createLODComponent
Function: createLODComponent() ​
ts
function createLODComponent(
world,
entityId, ...
args): LODComponent;Defined in: factories/components/LODFactory.ts:4
Parameters ​
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [Partial<Pick<LODComponent, "enabled" | "levels" | "cullScreenSize" | "cullDistance" | "hysteresis">>] |

