Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / createObject3DRefComponent

Function: createObject3DRefComponent()

ts
function createObject3DRefComponent(
   world, 
   entityId, ...
   args): Object3DRef;

Defined in: factories/components/Object3DRefFactory.ts:4

Parameters

ParameterType
worldWorld
entityIdnumber
...args[Object3D<Object3DEventMap>, boolean]

Returns

Object3DRef