Class StencilState

  • java.lang.Object
    • com.aspose.threed.StencilState

  • public class StencilState
    extends java.lang.Object
    Stencil states per face.
    • 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 class java.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 class java.lang.Object