Rendering
thejsngin/standard-asseets build a wrapper over three.js for rendering. Constructs provided:
rendererIs a three.js webgl renderer, only one renderer component is needed in the level(root gameObjectInstance). Provides events relating to rendering.sceneIs the actual scene in wihich all the to be rendered entities are placed. Only one scene component is needed in the level(root gameObjectInstance). Creates an instance of three.js scene.cameraThe camera through which the world is view. Atleast one camera component is required in the level(root gameObjectInstance) for rendering to work.transformResponsible for controlling the gameObjects position, rotation and scale. Atmax one shloud be used per gameObject. Creates an instance of Three.js group.geometryResponsible for the shape of the mesh. Creates an instance of Three.js geometry.materialResponsible for the material of the mesh. Creates an instance of Three.js material.meshJoins geometry and material to create a Three.js mesh object and adds it to the transform/scene.modelLoads a .glb model and adds it to the transform/scene.lightCreates a light and adds it to the transform/scene. Creates an instance of Three.js light.