Skip to content

TextureExtractProperty

TextureExtractProperty#

(Extract Property)

Go to User page.

Description#

Extract a value from a property of the current geometry.

Public Attributes#

Type Name Visual Hint Description
string property_name VISUAL_HINT_TAG Set the name of the property to extract.
string input_remap VISUAL_HINT_DEFAULT Property values remapping.
long output_mode VISUAL_HINT_DEFAULT Specify how to interpret the property.
long rotation_order VISUAL_HINT_DEFAULT Specify on which order the Euler rotations are composed.
double[4] color VISUAL_HINT_RGBA Set a color that is multiplying the property value.
bool enable_motion_blur VISUAL_HINT_DEFAULT Set whether the renderer will compute motion blur on the item or not.

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 "TextureExtractProperty" "Texture" {
    #version 0.9
    icon "../icons/object_icons/texture_extract_property.iconrc"
    category "/Texture/Utility"
    doc "Extract a value from a property of the current geometry."
    attribute_group "property" {
        tag "property_name" {
            doc "Set the name of the property to extract."
            value ""
        }
    }
    attribute_group "property>advanced" {
        collapsed yes
        ui_weight 1000
        string "input_remap" {
            doc "Property values remapping."
            value "abcdefghijklmnop"
        }
        long "output_mode" {
            doc "Specify how to interpret the property."
            preset "Raw" "0"
            preset "Vector to Euler" "1"
            preset "Quaternion to Euler" "2"
            preset "Matrix 4x4 to Euler" "3"
            preset "Matrix 4x4 to Position" "4"
            preset "Matrix 4x4 to Scale" "5"
            value 0
        }
        long "rotation_order" {
            doc "Specify on which order the Euler rotations are composed."
            read_only yes
            preset "XYZ" "8193"
            preset "XZY" "4353"
            preset "YZX" "1"
            preset "YXZ" "8449"
            preset "ZXY" "4097"
            preset "ZYX" "257"
            value 4097
        }
        rgba "color" {
            doc "Set a color that is multiplying the property value."
            texturable yes
            animatable yes
            value 1 1 1 1
        }
        bool "enable_motion_blur" {
            doc "Set whether the renderer will compute motion blur on the item or not."
            animatable yes
            value no
        }
    }
    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"
    }
}