godot/doc/classes/VisualShaderNodeExpression.xml

18 lines
1.1 KiB
XML
Raw Normal View History

2019-05-28 16:08:13 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 01:03:48 +00:00
<class name="VisualShaderNodeExpression" inherits="VisualShaderNodeGroupBase" version="4.0">
2019-05-28 16:08:13 +00:00
<brief_description>
A custom visual shader graph expression written in Godot Shading Language.
2019-05-28 16:08:13 +00:00
</brief_description>
<description>
Custom Godot Shading Language expression, with a custom amount of input and output ports.
2021-03-18 11:04:28 +00:00
The provided code is directly injected into the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), so it cannot be used to declare functions, varyings, uniforms, or global constants. See [VisualShaderNodeGlobalExpression] for such global definitions.
2019-05-28 16:08:13 +00:00
</description>
<tutorials>
</tutorials>
<members>
<member name="expression" type="String" setter="set_expression" getter="get_expression" default="&quot;&quot;">
An expression in Godot Shading Language, which will be injected at the start of the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), and thus cannot be used to declare functions, varyings, uniforms, or global constants.
2019-05-28 16:08:13 +00:00
</member>
</members>
</class>