Package com.aspose.threed
Class StencilState
- java.lang.Object
-
- com.aspose.threed.StencilState
-
public class StencilState extends java.lang.Object
Stencil states per face.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified object.CompareFunction
getCompare()
Gets the compare function used in stencil testStencilAction
getDepthFailAction()
Gets the stencil action when stencil test pass but depth test fails.StencilAction
getFailAction()
Gets the stencil action when stencil test fails.StencilAction
getPassAction()
Gets the stencil action when both stencil test and depth test passes.int
hashCode()
Returns the hash code for this instance.void
setCompare(CompareFunction value)
Sets the compare function used in stencil testvoid
setDepthFailAction(StencilAction value)
Sets the stencil action when stencil test pass but depth test fails.void
setFailAction(StencilAction value)
Sets the stencil action when stencil test fails.void
setPassAction(StencilAction value)
Sets the stencil action when both stencil test and depth test passes.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-
-
getCompare
public CompareFunction getCompare()
Gets the compare function used in stencil test
-
setCompare
public void setCompare(CompareFunction value)
Sets the compare function used in stencil test- Parameters:
value
- New value
-
getFailAction
public StencilAction getFailAction()
Gets the stencil action when stencil test fails.
-
setFailAction
public void setFailAction(StencilAction value)
Sets the stencil action when stencil test fails.- Parameters:
value
- New value
-
getDepthFailAction
public StencilAction getDepthFailAction()
Gets the stencil action when stencil test pass but depth test fails.
-
setDepthFailAction
public void setDepthFailAction(StencilAction value)
Sets the stencil action when stencil test pass but depth test fails.- Parameters:
value
- New value
-
getPassAction
public StencilAction getPassAction()
Gets the stencil action when both stencil test and depth test passes.
-
setPassAction
public void setPassAction(StencilAction value)
Sets the stencil action when both stencil test and depth test passes.- Parameters:
value
- New value
-
hashCode
public int hashCode()
Returns the hash code for this instance.- Overrides:
hashCode
in classjava.lang.Object
-
-