瀏覽代碼

Merge pull request #19692 from gkjohnson/stencil-docs-update

Update docs for Material stencilWrite
Mr.doob 5 年之前
父節點
當前提交
4fc57bbe1f
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 1
      docs/api/en/materials/Material.html
  2. 1 2
      docs/api/zh/materials/Material.html

+ 1 - 1
docs/api/en/materials/Material.html

@@ -125,7 +125,7 @@
 
 
 		<h3>[property:Boolean stencilWrite]</h3>
 		<h3>[property:Boolean stencilWrite]</h3>
 		<p>
 		<p>
-		Whether rendering this material has any effect on the stencil buffer. Default is *false*.
+		Whether stencil operations are performed against the stencil buffer. In order to perform writes or comparisons against the stencil buffer this value must be *true*. Default is *false*.
 		</p>
 		</p>
 
 
 		<h3>[property:Integer stencilWriteMask]</h3>
 		<h3>[property:Integer stencilWriteMask]</h3>

+ 1 - 2
docs/api/zh/materials/Material.html

@@ -105,8 +105,7 @@
 
 
 <h3>[property:Boolean stencilWrite]</h3>
 <h3>[property:Boolean stencilWrite]</h3>
 <p>
 <p>
-Whether rendering this material has any effect on the stencil buffer. Default is *false*.
-</p>
+Whether stencil operations are performed against the stencil buffer. In order to perform writes or comparisons against the stencil buffer this value must be *true*. Default is *false*.</p>
 
 
 <h3>[property:Integer stencilWriteMask]</h3>
 <h3>[property:Integer stencilWriteMask]</h3>
 <p>
 <p>