Saltar al contenido principal

world.three

Three.js is a popular JavaScript library and API that's used to make and display animated 3D graphics in a web browser. You can directly leverage additional functionality provided by three.js via world.three.

Properties

PropertyTypeDescription
scenethreeEntry point for three.js API.
rendererWebGLRendererThe three.js renderer.
activeCameracameraHandle to the active camera.
entityToObjectMap<Eid, Object3D>Map of entities to three.js objects.