浏览代码

ShadowMaterial

duanjobs 6 年之前
父节点
当前提交
d3dea7532b
共有 1 个文件被更改,包括 15 次插入18 次删除
  1. 15 18
      docs/api/zh/materials/ShadowMaterial.html

+ 15 - 18
docs/api/zh/materials/ShadowMaterial.html

@@ -10,13 +10,13 @@
 	<body>
 		[page:Material] &rarr; [page:ShaderMaterial] &rarr;
 
-		<h1>[name]</h1>
+		<h1>阴影材质([name])</h1>
 
 		<p class="desc">
-		This material can receive shadows, but otherwise is completely transparent.
+			此材质可以接收阴影,但在其他方面完全透明。
 		</p>
 
-		<h3>Example</h3>
+		<h3>例子(Example)</h3>
 		[example:webgl_geometry_spline_editor geometry / spline / editor]
 
 		<code>
@@ -32,35 +32,32 @@ plane.receiveShadow = true;
 scene.add( plane );
 		</code>
 
-		<h2>Constructor</h2>
+		<h2>构造函数(Constructor)</h2>
 
 		<h3>[name]( [param:Object parameters] )</h3>
-		<p>
-			[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
-			Any property of the material (including any property inherited from [page:Material] and [page:ShaderMaterial]) can be passed in here.<br /><br />
+		<p> [page:Object parameters] - (可选)用于定义材质外观的对象,具有一个或多个属性。
+			材质的任何属性都可以从此处传入(包括从[page:Material] 和 [page:ShaderMaterial]继承的任何属性)。<br /><br />
 		</p>
 
 
-		<h2>Properties</h2>
-		<p>See the base [page:Material] and [page:ShaderMaterial] classes for common properties.</p>
+		<h2>属性(Properties)</h2>
+		<p>常用属性请参见基类[page:Material]和[page:ShaderMaterial]。</p>
 
 		<h3>[property:Boolean isShadowMaterial]</h3>
-		<p>
-			Used to check whether this or derived classes are shadow materials. Default is *true*.<br /><br />
-
-			You should not change this, as it used internally for optimisation.
+		<p> 用于检查此类或派生类是否为阴影材质。默认值为 *true*。<br /><br />
+			因为其通常用在内部优化,所以不应该更改该属性值。
 		</p>
 
 		<h3>[property:Boolean lights]</h3>
-		<p>Whether the material is affected by lights. Default is *true*.</p>
+		<p> 材质是否受到光照的影响。默认值为 *true*。</p>
 
 		<h3>[property:Boolean transparent]</h3>
-		<p>Defines whether this material is transparent. Default is *true*.</p>
+		<p>定义此材质是否透明。默认值为 *true*。</p>
 
-		<h2>Methods</h2>
-		<p>See the base [page:Material] and [page:ShaderMaterial] classes for common methods.</p>
+		<h2>方法(Methods)</h2>
+		<p>常用方法请参见基类[page:Material]和[page:ShaderMaterial]。</p>
 
-		<h2>Source</h2>
+		<h2>源码(Source)</h2>
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 	</body>