Saltar al contenido principal

three

Descripción

This library provides an interface to the rendering engine.

Propiedades

PropiedadTipoDescripción
sceneThreeEntry point for three.js API.
rendererWebGLRendererEl renderizador de three.js.
activeCameraCámaraHandle to the active camera.
entityToObjectMap<eid, Object3D>Map of entities to three.js objects.

Funciones

entityToObject

Retrieves the corresponding three.js Object3D for a given entity.

world.three.entityToObject.get(eid: Eid) // -> Object3D