Skip to content

ImageFilterAdd

ImageFilterAdd#

(Add)

No corresponding User page.

Description#

Add the specified color to the image.

Public Attributes#

Type Name Visual Hint Description
double[3] color VISUAL_HINT_COLOR Color to use.
bool clamp VISUAL_HINT_DEFAULT If set, the filter will clamp computed values between 0 and 1.

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.

CID#

class "ImageFilterAdd" "PixelFilter" {
    #version 0.9
    icon "../icons/object_icons/filter_add.iconrc"
    category "ImageFilter"
    doc "Add the specified color to the image."
    color "color" {
        doc "Color to use."
        texturable yes
        animatable yes
        value 0.0 0.0 0.0
    }
    bool "clamp" {
        doc "If set, the filter will clamp computed values between 0 and 1."
        animatable yes
        value no
    }
    set "channel_z" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable yes
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value no
    }
}