|
@@ -29,7 +29,7 @@
|
|
<h3>[property:Fog fog]</h3>
|
|
<h3>[property:Fog fog]</h3>
|
|
|
|
|
|
<p>一个[page:Fog fog]实例定义了影响场景中的每个物体的雾的类型。默认值为null。
|
|
<p>一个[page:Fog fog]实例定义了影响场景中的每个物体的雾的类型。默认值为null。
|
|
- A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</p>
|
|
|
|
|
|
+ </p>
|
|
|
|
|
|
<h3>[property:Material overrideMaterial]</h3>
|
|
<h3>[property:Material overrideMaterial]</h3>
|
|
|
|
|
|
@@ -43,16 +43,15 @@
|
|
|
|
|
|
<h3>[property:Object background]</h3>
|
|
<h3>[property:Object background]</h3>
|
|
<p>
|
|
<p>
|
|
-
|
|
|
|
- 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.
|
|
|
|
|
|
+ 若不为空,在渲染场景的时候将设置背景,且背景总是首先被渲染的。
|
|
|
|
+ 可以设置一个用于的“clear”的[page:Color](颜色)、一个覆盖canvas的[page:Texture](纹理),或是一个[page:CubeTexture]。默认值为null。
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h2>方法</h2>
|
|
<h2>方法</h2>
|
|
|
|
|
|
<h3>[method:JSON toJSON]</h3>
|
|
<h3>[method:JSON toJSON]</h3>
|
|
<p>
|
|
<p>
|
|
- 使用JSON格式返回场景数据
|
|
|
|
- Return the scene data in JSON format.
|
|
|
|
|
|
+ 使用JSON格式返回场景数据。
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h2>源代码</h2>
|
|
<h2>源代码</h2>
|