@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createImageTargetComponent
Function: createImageTargetComponent()
ts
function createImageTargetComponent(
world,
entityId, ...
args): ImageTarget;Defined in: factories/components/ImageTargetFactory.ts:4
Parameters
| Parameter | Type |
|---|---|
world | World |
entityId | number |
...args | [{ targets?: ImageTargetReference[]; compiledTargetUrl?: string; compiledTargetDir?: string; }, Texture, Object3D<Object3DEventMap>] |

