## StencilState class

  Stencil states per face.  @hideconstructor


## Methods

### getCompare{#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{#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{#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{#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{#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{#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{#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{#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{#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{#hashCode}

| Name | Description |
| --- | --- |
| hashCode() | Returns the hash code for this instance. | 

 **Result:**
boolean


---



