Whether rendering this material has any effect on the stencil buffer. Default is *false*.
Whether rendering this material has any effect on the stencil buffer. Default is *false*.
</p>
</p>
<h3>[property:Boolean stencilWriteMask]</h3>
<h3>[property:Integer stencilWriteMask]</h3>
<p>
<p>
The bit mask to use when writing to the stencil buffer. Default is *0xFF*.
The bit mask to use when writing to the stencil buffer. Default is *0xFF*.
</p>
</p>
<h3>[property:Boolean stencilFunc]</h3>
<h3>[property:Integer stencilFunc]</h3>
<p>
<p>
The stencil comparison function to use. Default is [page:Materials AlwaysStencilFunc]. See stencil function [page:Materials constants] for all possible values.
The stencil comparison function to use. Default is [page:Materials AlwaysStencilFunc]. See stencil function [page:Materials constants] for all possible values.
</p>
</p>
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
The value to use when performing stencil comparisons or stencil operations. Default is *0*.
The value to use when performing stencil comparisons or stencil operations. Default is *0*.
</p>
</p>
<h3>[property:Boolean stencilFuncMask]</h3>
<h3>[property:Integer stencilFuncMask]</h3>
<p>
<p>
The bit mask to use when comparing against the stencil buffer. Default is *0xFF*.
The bit mask to use when comparing against the stencil buffer. Default is *0xFF*.
</p>
</p>
...
@@ -153,12 +153,12 @@
...
@@ -153,12 +153,12 @@
Which stencil operation to perform when the comparison function returns false. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns false. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
</p>
</p>
<h3>[property:Boolean stencilZFail]</h3>
<h3>[property:Integer stencilZFail]</h3>
<p>
<p>
Which stencil operation to perform when the comparison function returns true but the depth test fails. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns true but the depth test fails. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
</p>
</p>
<h3>[property:Boolean stencilZPass]</h3>
<h3>[property:Integer stencilZPass]</h3>
<p>
<p>
Which stencil operation to perform when the comparison function returns true and the depth test passes. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns true and the depth test passes. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Whether rendering this material has any effect on the stencil buffer. Default is *false*.
Whether rendering this material has any effect on the stencil buffer. Default is *false*.
</p>
</p>
<h3>[property:Boolean stencilWriteMask]</h3>
<h3>[property:Integer stencilWriteMask]</h3>
<p>
<p>
The bit mask to use when writing to the stencil buffer. Default is *0xFF*.
The bit mask to use when writing to the stencil buffer. Default is *0xFF*.
</p>
</p>
<h3>[property:Boolean stencilFunc]</h3>
<h3>[property:Integer stencilFunc]</h3>
<p>
<p>
The stencil comparison function to use. Default is [page:Materials AlwaysStencilFunc]. See stencil function [page:Materials constants] for all possible values.
The stencil comparison function to use. Default is [page:Materials AlwaysStencilFunc]. See stencil function [page:Materials constants] for all possible values.
</p>
</p>
...
@@ -123,7 +123,7 @@ The stencil comparison function to use. Default is [page:Materials AlwaysStencil
...
@@ -123,7 +123,7 @@ The stencil comparison function to use. Default is [page:Materials AlwaysStencil
The value to use when performing stencil comparisons or stencil operations. Default is *0*.
The value to use when performing stencil comparisons or stencil operations. Default is *0*.
</p>
</p>
<h3>[property:Boolean stencilFuncMask]</h3>
<h3>[property:Integer stencilFuncMask]</h3>
<p>
<p>
The bit mask to use when comparing against the stencil buffer. Default is *0xFF*.
The bit mask to use when comparing against the stencil buffer. Default is *0xFF*.
</p>
</p>
...
@@ -133,12 +133,12 @@ The bit mask to use when comparing against the stencil buffer. Default is *0xFF*
...
@@ -133,12 +133,12 @@ The bit mask to use when comparing against the stencil buffer. Default is *0xFF*
Which stencil operation to perform when the comparison function returns false. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns false. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
</p>
</p>
<h3>[property:Boolean stencilZFail]</h3>
<h3>[property:Integer stencilZFail]</h3>
<p>
<p>
Which stencil operation to perform when the comparison function returns true but the depth test fails. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns true but the depth test fails. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
</p>
</p>
<h3>[property:Boolean stencilZPass]</h3>
<h3>[property:Integer stencilZPass]</h3>
<p>
<p>
Which stencil operation to perform when the comparison function returns true and the depth test passes. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.
Which stencil operation to perform when the comparison function returns true and the depth test passes. Default is [page:Materials KeepStencilOp]. See the stencil operations [page:Materials constants] for all possible values.