b087538119
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
38 lines
1.2 KiB
XML
38 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeScalarOp" inherits="VisualShaderNode" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<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>
|