Skip to content

TextureColorSpace

TextureColorSpace#

(Color Space)

Go to User page.

Description#

Transform the color space of the input color.

Public Attributes#

Type Name Visual Hint Description
double[3] input VISUAL_HINT_COLOR Input color to be transformed.
string input_color_space VISUAL_HINT_ENUM Define the color space of the input color.
string output_color_space VISUAL_HINT_ENUM Define the color space of the output color.

Inherited Public Attributes#

Type Name Visual Hint Description
bool pass_through VISUAL_HINT_DEFAULT If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
string master_input VISUAL_HINT_TAG Name of the attribute that will be used as output if Pass Through is enabled.
bool invert VISUAL_HINT_DEFAULT If checked, the texture is inverted.
double opacity VISUAL_HINT_PERCENTAGE Set the opacity of the texture.

CID#

class "TextureColorSpace" "Texture" {
    #version 0.93
    icon "../icons/object_icons/texture_color_space.iconrc"
    category "/Texture/Color"
    doc "Transform the color space of the input color."
    attribute_group "input" {
        color "input" {
            doc "Input color to be transformed."
            texturable yes
            animatable yes
            value 1 1 1
        }
    }
    attribute_group "color_space" {
        enum "input_color_space" {
            doc "Define the color space of the input color."
            filter "color_space"
            value "__invalid_enum_label__"
        }
        enum "output_color_space" {
            doc "Define the color space of the output color."
            filter "color_space"
            value "__invalid_enum_label__"
        }
    }
    set "master_input" {
        private no
        hidden no
        saveable yes
        texturable no
        animatable no
        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 "input"
    }
}