mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
a7ac8ec876
Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeScalarOp" inherits="VisualShaderNode" category="Core" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="default_input_values" type="Array" setter="_set_default_input_values" getter="_get_default_input_values" override="true" default="[ 0, 0.0, 1, 0.0 ]" />
|
|
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeScalarOp.Operator" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="OP_ADD" value="0" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_SUB" value="1" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_MUL" value="2" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_DIV" value="3" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_MOD" value="4" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_POW" value="5" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_MAX" value="6" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_MIN" value="7" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_ATAN2" value="8" enum="Operator">
|
|
</constant>
|
|
<constant name="OP_STEP" value="9" enum="Operator">
|
|
</constant>
|
|
</constants>
|
|
</class>
|