Class SurfaceClipEffect

  • All Implemented Interfaces:
    java.io.Serializable, WildMagic.LibGraphics.ObjectSystem.NameIdInterface, WildMagic.LibGraphics.ObjectSystem.StreamInterface

    public class SurfaceClipEffect
    extends VolumeClipEffect
    Surface clipping.
    See Also:
    Serialized Form
    • Constructor Detail

      • SurfaceClipEffect

        public SurfaceClipEffect()
        Create a surface clip effect. Used to generate the surface mask texture.
    • Method Detail

      • Scale

        public void Scale​(float fSX,
                          float fSY,
                          float fSZ,
                          boolean bOn)
        Scale the surface to fit the mask texture. Scaling is done inside the SurfaceClip vertex shader.
        Parameters:
        fSX - x-scale factor.
        fSY - y-scale factor.
        fSZ - z-scale factor.
        bOn - turn scale on/off.