VisualShaderNodeExpression

Inherits: VisualShaderNodeGroupBase < VisualShaderNode < Resource < Reference < Object

Inherited By: VisualShaderNodeGlobalExpression

A custom visual shader graph expression written in Rebel Shading Language.

Description

Custom Rebel Shading Language expression, with a custom amount of input and output ports.

The provided code is directly injected into the graph's matching shader function (vertex, fragment, or light), so it cannot be used to declare functions, varyings, uniforms, or global constants. See VisualShaderNodeGlobalExpression for such global definitions.

Properties

String

expression

""

Property Descriptions

Default

""

Setter

set_expression(value)

Getter

get_expression()

An expression in Rebel Shading Language, which will be injected at the start of the graph's matching shader function (vertex, fragment, or light), and thus cannot be used to declare functions, varyings, uniforms, or global constants.