StencilState
Overview
StencilState is a class in Aspose.3D FOSS for .NET.
Stencil states per face.
This class provides 2 methods for working with StencilState objects in .NET programs.
Available methods include: Equals, GetHashCode.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Compare, DepthFailAction, FailAction, PassAction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Compare | CompareFunction | Read/Write | Gets or sets the compare function used in stencil test |
FailAction | StencilAction | Read/Write | Gets or sets the stencil action when stencil test fails. |
DepthFailAction | StencilAction | Read/Write | Gets or sets the stencil action when stencil test pass but depth test fails. |
PassAction | StencilAction | Read/Write | Gets or sets the stencil action when both stencil test and depth test passes. |
Methods
| Signature | Description |
|---|---|
Equals(obj: object) | Not implemented in the FOSS edition — throws at runtime. Returns a value indicating whether this instance is equal to a specified object. |
GetHashCode() | Not implemented in the FOSS edition — throws at runtime. Returns the hash code for this instance. |