Skip to content

ImageFilterBrightness

ImageFilterBrightness#

(Brightness)

No corresponding User page.

Description#

Adjust the brightness of the image.

Public Attributes#

Type Name Visual Hint Description
double brightness VISUAL_HINT_PERCENTAGE Set brightness.

Inherited Public Attributes#

Type Name Visual Hint Description
bool channel_r VISUAL_HINT_DEFAULT Whether this filter affects the red channel or not.
bool channel_g VISUAL_HINT_DEFAULT Whether this filter affects the green channel or not.
bool channel_b VISUAL_HINT_DEFAULT Whether this filter affects the blue channel or not.
bool channel_a VISUAL_HINT_DEFAULT Whether this filter affects the alpha channel or not.
bool channel_z VISUAL_HINT_DEFAULT Whether this filter affects the Z channel or not.

CID#

class "ImageFilterBrightness" "PixelFilter" {
    #version 0.9
    icon "../icons/object_icons/filter_brightness.iconrc"
    category "ImageFilter"
    doc "Adjust the brightness of the image."
    percentage "brightness" {
        doc "Set brightness."
        animatable yes
        slider yes
        numeric_range yes -1 1
        ui_range yes -1 1
        value 0.0
    }
}