Scenes allow you to set up what and where is to be rendered by three.js. This is where you place objects, lights and cameras.
Create a new scene object.
Defines the background of the scene. Default is `null`. Valid inputs are:
Sets the blurriness of the background. Only influences environment maps assigned to [page:Scene.background]. Valid input is a float between `0` and `1`. Default is `0`.
Attenuates the color of the background. Only applies to background textures. Default is `1`.
The rotation of the background in radians. Only influences environment maps assigned to [page:Scene.background]. Default is `(0,0,0)`.
Sets the environment map for all physical materials in the scene. However, it's not possible to overwrite an existing texture assigned to [page:MeshStandardMaterial.envMap]. Default is `null`.
Attenuates the color of the environment. Only influences environment maps assigned to [page:Scene.environment]. Default is `1`.
The rotation of the environment map in radians. Only influences physical materials in the scene when [page:.environment] is used. Default is `(0,0,0)`.
A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is `null`.
Read-only flag to check if a given object is of type [name].
Forces everything in the scene to be rendered with the defined material. Default is `null`.
meta -- object containing metadata such as textures or images for the
scene.
Convert the scene to three.js
[link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]