
## StencilState class

Stencil states per face.



The StencilState type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [compare](/3d/python-net/aspose.threed.render/stencilstate/compare) | Gets or sets the compare function used in stencil test |
| [fail_action](/3d/python-net/aspose.threed.render/stencilstate/fail_action) | Gets or sets the stencil action when stencil test fails. |
| [depth_fail_action](/3d/python-net/aspose.threed.render/stencilstate/depth_fail_action) | Gets or sets the stencil action when stencil test pass but depth test fails. |
| [pass_action](/3d/python-net/aspose.threed.render/stencilstate/pass_action) | Gets or sets the stencil action when both stencil test and depth test passes. |



### See Also
* module [`aspose.threed.render`](..)
