Skip to content

Commit cad8c07

Browse files
mkeblxmrdoob
authored andcommitted
Add background property to Scene docs (mrdoob#9817)
1 parent 77a9210 commit cad8c07

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/api/scenes/Scene.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8" />
4+
<meta charset="utf-8" />
55
<base href="../../" />
66
<script src="list.js"></script>
77
<script src="page.js"></script>
@@ -26,18 +26,23 @@ <h3>[name]()</h3>
2626
<h2>Properties</h2>
2727

2828
<h3>[property:Fog fog]</h3>
29-
29+
3030
<div>A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</div>
31-
31+
3232
<h3>[property:Material overrideMaterial]</h3>
33-
33+
3434
<div>If not null, it will force everything in the scene to be rendered with that material. Default is null.</div>
35-
35+
3636
<h3>[property:boolean autoUpdate]</h3>
3737
<div>
38-
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
39-
When it isn't, then you have to maintain all matrices in the scene yourself.
40-
</div>
38+
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
39+
When it isn't, then you have to maintain all matrices in the scene yourself.
40+
</div>
41+
42+
<h3>[property:Object background]</h3>
43+
<div>
44+
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 [page:CubeTexture]. Default is null.
45+
</div>
4146

4247
<h2>Methods</h2>
4348

0 commit comments

Comments
 (0)