Skip to content

TextureInstanceColor

TextureInstanceColor#

(Instance Color)

Go to User page.

Description#

Evaluate a texture on the support geometry of a parent scatterer or combiner by using the sample corresponding to the current instance.

Public Attributes#

Type Name Visual Hint Description
double[3] color VISUAL_HINT_COLOR Set the color of the instance.
long parent_level VISUAL_HINT_DEFAULT Set the level of the parent to use. The positive values are relative to the current level so 1 correspond to the direct parent of the current object. Negative values will start at the highest parent with -1 and move down to the current object.

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 "TextureInstanceColor" "Texture" {
    #version 0.91
    icon "../icons/object_icons/texture_instance_color.iconrc"
    category "/Texture/Utility"
    doc "Evaluate a texture on the support geometry of a parent scatterer or combiner by using the sample corresponding to the current instance."
    attribute_group "input" {
        color "color" {
            doc "Set the color of the instance."
            texturable yes
            value 0.0 0.0 0.0
        }
        long "parent_level" {
            doc "Set the level of the parent to use. The positive values are relative to the current level so 1 correspond to the direct parent of the current object. Negative values will start at the highest parent with -1 and move down to the current object."
            ui_range yes -10 10
            value 1
        }
    }
    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 "color"
    }
}