Passer au contenu principal

trois

Description

Cette bibliothèque fournit une interface au moteur de rendu.

Propriétés

PropriétéTypeDescription
scèneTroisPoint d'entrée de l'API three.js.
moteur de renduWebGLRendererLe moteur de rendu three.js.
activeCameraAppareil photoPoignée de la caméra active.
entityToObjectMap<eid, Object3D>Carte des entités en objets three.js.

Fonctions

entityToObject

Récupère l'Object3D three.js correspondant à une entité donnée.

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