StencilState

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

NameTypeAccessDescription
CompareCompareFunctionRead/WriteGets or sets the compare function used in stencil test
FailActionStencilActionRead/WriteGets or sets the stencil action when stencil test fails.
DepthFailActionStencilActionRead/WriteGets or sets the stencil action when stencil test pass but depth test fails.
PassActionStencilActionRead/WriteGets or sets the stencil action when both stencil test and depth test passes.

Methods

SignatureDescription
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.

See Also

 English