VisualShaderNodeExpression
Inherits: VisualShaderNodeGroupBase < VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object
Inherited by: VisualShaderNodeGlobalExpression
Description
Section titled “Description”A custom visual shader graph expression written in Orblit Shading Language.
Custom Orblit Shading Language expression, with a custom number 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
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| String | expression |
"" |
Property descriptions
Section titled “Property descriptions”expression
String expression = ""
An expression in Orblit 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.
