类 LensBlurFilter

    • 构造器详细资料

      • LensBlurFilter

        public LensBlurFilter()
    • 方法详细资料

      • setRadius

        public void setRadius​(float radius)
        Set the radius of the kernel, and hence the amount of blur.
        参数:
        radius - the radius of the blur in pixels.
        另请参阅:
        getRadius()
      • getRadius

        public float getRadius()
        Get the radius of the kernel.
        返回:
        the radius
        另请参阅:
        setRadius(float)
      • setSides

        public void setSides​(int sides)
        Set the number of sides of the aperture.
        参数:
        sides - the number of sides
        另请参阅:
        getSides()
      • getSides

        public int getSides()
        Get the number of sides of the aperture.
        返回:
        the number of sides
        另请参阅:
        setSides(int)
      • setBloom

        public void setBloom​(float bloom)
        Set the bloom factor.
        参数:
        bloom - the bloom factor
        另请参阅:
        getBloom()
      • getBloom

        public float getBloom()
        Get the bloom factor.
        返回:
        the bloom factor
        另请参阅:
        setBloom(float)
      • setBloomThreshold

        public void setBloomThreshold​(float bloomThreshold)
        Set the bloom threshold.
        参数:
        bloomThreshold - the bloom threshold
        另请参阅:
        getBloomThreshold()
      • getBloomThreshold

        public float getBloomThreshold()
        Get the bloom threshold.
        返回:
        the bloom threshold
        另请参阅:
        setBloomThreshold(float)