<p>A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</p>
<h3>[property:Material overrideMaterial]</h3>
<p>If not null, it will force everything in the scene to be rendered with that material. Default is null.</p>
<h3>[property:boolean autoUpdate]</h3>
<h3>[property:boolean autoUpdate]</h3>
<p>
<p>
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
...
@@ -44,19 +36,33 @@
...
@@ -44,19 +36,33 @@
If not null, sets the background used when rendering the scene, and is always rendered first. Can be set to a [page:Color] which sets the clear color, a [page:Texture] covering the canvas, or a cubemap as a [page:CubeTexture] or [page:WebGLRenderTargetCube]. Default is null.
If not null, sets the background used when rendering the scene, and is always rendered first. Can be set to a [page:Color] which sets the clear color, a [page:Texture] covering the canvas, or a cubemap as a [page:CubeTexture] or [page:WebGLRenderTargetCube]. Default is null.
</p>
</p>
<h2>Methods</h2>
<h3>[property:Texture environment]</h3>
<h3>[method:Object toJSON]</h3>
<p>
<p>
meta -- object containing metadata such as textures or images for the scene.<br/>
If not null, this texture is set as the environment map for all physical materials in 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].
However, it's not possible to overwrite an existing texture assigned to [page:MeshStandardMaterial.envmap]. Default is null.
</p>
</p>
<h3>[property:Fog fog]</h3>
<p>A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</p>
<h3>[property:Material overrideMaterial]</h3>
<p>If not null, it will force everything in the scene to be rendered with that material. Default is null.</p>
<h2>Methods</h2>
<h3>[method:null dispose]()</h3>
<h3>[method:null dispose]()</h3>
<p>
<p>
Clears scene related data internally cached by [page:WebGLRenderer].
Clears scene related data internally cached by [page:WebGLRenderer].
</p>
</p>
<h3>[method:Object toJSON]</h3>
<p>
meta -- object containing metadata such as textures or images for the scene.<br/>
Convert the scene to three.js [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].