Skip to content

ImageNode

ImageNode#

(ImageNode)

No corresponding User page.

Description#

An image node.

Public Attributes#

Type Name Visual Hint Description
bool thumbnail VISUAL_HINT_DEFAULT Enable/Disable the display of the node thumbnail in the Build View.
double thumbnail_size VISUAL_HINT_DEFAULT Set the size of the thumbnail in the Build View.
long caching VISUAL_HINT_DEFAULT Cache result of this node
action clear_cache VISUAL_HINT_DEFAULT Clear the internal image cached by the node. If you clear the image cache, the node will request an evaluation when displayed by the Image View.
bool pass_through VISUAL_HINT_DEFAULT Enable pass through. If enabled, the node returns the input specified as Master Input.
string master_input VISUAL_HINT_TAG Define which input should be returned by the node if Pass Through is enabled.

CID#

class "ImageNode" "ProjectItem" {
    abstract yes
    #license {
        flavor "advanced"
    }
    #version 0.92
    icon "../icons/object_icons/image.iconrc"
    category "Image"
    doc "An image node."
    ui_name "ImageNode"
    attribute_group "display" {
        bool "thumbnail" {
            doc "Enable/Disable the display of the node thumbnail in the Build View."
            output "none"
            dg_active no
            value no
        }
        double "thumbnail_size" {
            doc "Set the size of the thumbnail in the Build View."
            output "none"
            slider yes
            numeric_range yes 1 1.79769313486232e+308
            ui_range yes 1 20
            dg_active no
            value 1
        }
        long "caching" {
            doc "Cache result of this node"
            dg_active no
            read_only yes
            preset "Automatic" "0"
            preset "Always" "1"
            value 0
        }
        action "clear_cache" {
            doc "Clear the internal image cached by the node. If you clear the image cache, the node will request an evaluation when displayed by the Image View."
            value <empty>
        }
    }
    attribute_group "settings" {
        bool "pass_through" {
            doc "Enable pass through. If enabled, the node returns the input specified as Master Input."
            value no
        }
        tag "master_input" {
            doc "Define which input should be returned by the node if Pass Through is enabled."
            value "a"
        }
    }
}