StencilState
Contents
[
Hide
]StencilState class
Stencil states per face. @hideconstructor
Methods
getCompare
Name | Description |
---|---|
getCompare() | Gets or sets the compare function used in stencil test The value of the property is CompareFunction integer constant. |
Result:
setCompare
Name | Description |
---|---|
setCompare(value) | Gets or sets the compare function used in stencil test The value of the property is CompareFunction integer constant. |
Result:
getFailAction
Name | Description |
---|---|
getFailAction() | Gets or sets the stencil action when stencil test fails. The value of the property is StencilAction integer constant. |
Result:
setFailAction
Name | Description |
---|---|
setFailAction(value) | Gets or sets the stencil action when stencil test fails. The value of the property is StencilAction integer constant. |
Result:
getDepthFailAction
Name | Description |
---|---|
getDepthFailAction() | Gets or sets the stencil action when stencil test pass but depth test fails. The value of the property is StencilAction integer constant. |
Result:
setDepthFailAction
Name | Description |
---|---|
setDepthFailAction(value) | Gets or sets the stencil action when stencil test pass but depth test fails. The value of the property is StencilAction integer constant. |
Result:
getPassAction
Name | Description |
---|---|
getPassAction() | Gets or sets the stencil action when both stencil test and depth test passes. The value of the property is StencilAction integer constant. |
Result:
setPassAction
Name | Description |
---|---|
setPassAction(value) | Gets or sets the stencil action when both stencil test and depth test passes. The value of the property is StencilAction integer constant. |
Result:
equals
Name | Description |
---|---|
equals(obj) | Returns a value indicating whether this instance is equal to a specified object. |
Parameters:
Name | Type | Description |
---|---|---|
ob | Object | null |
Result: boolean
hashCode
Name | Description |
---|---|
hashCode() | Returns the hash code for this instance. |
Result: boolean