Skip to content

@modoki/engine / index / getEntityObjects

Function: getEntityObjects() ​

getEntityObjects(world, id): Object3D<Object3DEventMap>[]

All drawable meshes for id across every surface of world. Empty if the entity has no 3D presence (yet) on any surface. Order is surface-registration then mesh order; callers treat it as a set.

Parameters ​

world ​

World

id ​

number

Returns ​

Object3D<Object3DEventMap>[]

Built with Modoki.