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 `/>`.
46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeCompare" inherits="VisualShaderNode" category="Core" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="condition" type="int" setter="set_condition" getter="get_condition" enum="VisualShaderNodeCompare.Condition" default="0">
|
|
</member>
|
|
<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, 2, 1e-05 ]" />
|
|
<member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeCompare.Function" default="0">
|
|
</member>
|
|
<member name="type" type="int" setter="set_comparsion_type" getter="get_comparsion_type" enum="VisualShaderNodeCompare.ComparsionType" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="CTYPE_SCALAR" value="0" enum="ComparsionType">
|
|
</constant>
|
|
<constant name="CTYPE_VECTOR" value="1" enum="ComparsionType">
|
|
</constant>
|
|
<constant name="CTYPE_BOOLEAN" value="2" enum="ComparsionType">
|
|
</constant>
|
|
<constant name="CTYPE_TRANSFORM" value="3" enum="ComparsionType">
|
|
</constant>
|
|
<constant name="FUNC_EQUAL" value="0" enum="Function">
|
|
</constant>
|
|
<constant name="FUNC_NOT_EQUAL" value="1" enum="Function">
|
|
</constant>
|
|
<constant name="FUNC_GREATER_THAN" value="2" enum="Function">
|
|
</constant>
|
|
<constant name="FUNC_GREATER_THAN_EQUAL" value="3" enum="Function">
|
|
</constant>
|
|
<constant name="FUNC_LESS_THAN" value="4" enum="Function">
|
|
</constant>
|
|
<constant name="FUNC_LESS_THAN_EQUAL" value="5" enum="Function">
|
|
</constant>
|
|
<constant name="COND_ALL" value="0" enum="Condition">
|
|
</constant>
|
|
<constant name="COND_ANY" value="1" enum="Condition">
|
|
</constant>
|
|
</constants>
|
|
</class>
|