Skip to content

LightPathExpressionConstant

LightPathExpressionConstant#

(Light Path Expression Constant)

  • Default object name: light_path_expression_constant
  • Inherits from: ProjectItem

Go to User page.

Description#

Defines a material constant that can be accessed from a LPE.

Public Attributes#

Type Name Visual Hint Description
double[3] input VISUAL_HINT_COLOR Define the input color to output.
string constant_name VISUAL_HINT_DEFAULT Name of the constant.

CID#

class "LightPathExpressionConstant" "ProjectItem" {
    #version 1
    icon "lpe_constant.iconrc"
    doc "Defines a material constant that can be accessed from a LPE."
    aliases "ConstantExport"
    color "input" {
        doc "Define the input color to output."
        texturable yes
        animatable yes
        shading_variable yes
        value 0.0 0.0 0.0
    }
    string "constant_name" {
        doc "Name of the constant."
        value ""
    }
}