Skip to content

Commit

Permalink
Add background property to Scene docs (mrdoob#9817)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeblx authored and aardgoose committed Oct 7, 2016
1 parent 199f03e commit 3b819c7
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docs/api/scenes/Scene.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
Expand All @@ -26,18 +26,23 @@ <h3>[name]()</h3>
<h2>Properties</h2>

<h3>[property:Fog fog]</h3>

<div>A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</div>

<h3>[property:Material overrideMaterial]</h3>

<div>If not null, it will force everything in the scene to be rendered with that material. Default is null.</div>

<h3>[property:boolean autoUpdate]</h3>
<div>
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
When it isn't, then you have to maintain all matrices in the scene yourself.
</div>
Default is true. If set, then the renderer checks every frame if the scene and its objects needs matrix updates.
When it isn't, then you have to maintain all matrices in the scene yourself.
</div>

<h3>[property:Object background]</h3>
<div>
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.
</div>

<h2>Methods</h2>

Expand Down

0 comments on commit 3b819c7

Please sign in to comment.