StencilState

StencilState class

Stencil states per face. @hideconstructor

Methods

getCompare

NameDescription
getCompare()Gets or sets the compare function used in stencil test The value of the property is CompareFunction integer constant.

Result:


setCompare

NameDescription
setCompare(value)Gets or sets the compare function used in stencil test The value of the property is CompareFunction integer constant.

Result:


getFailAction

NameDescription
getFailAction()Gets or sets the stencil action when stencil test fails. The value of the property is StencilAction integer constant.

Result:


setFailAction

NameDescription
setFailAction(value)Gets or sets the stencil action when stencil test fails. The value of the property is StencilAction integer constant.

Result:


getDepthFailAction

NameDescription
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

NameDescription
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

NameDescription
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

NameDescription
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

NameDescription
equals(obj)Returns a value indicating whether this instance is equal to a specified object.

Parameters:

NameTypeDescription
obObjectnull

Result: boolean


hashCode

NameDescription
hashCode()Returns the hash code for this instance.

Result: boolean