2022-08-21 00:40:49 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-11-20 23:27:04 +01:00
|
|
|
<class name="GradientBase" inherits="MMNode" version="3.10">
|
2022-08-21 00:40:49 +02:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_get_gradient_color" qualifiers="virtual">
|
|
|
|
<return type="Color" />
|
|
|
|
<argument index="0" name="x" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_point">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="val" type="float" />
|
|
|
|
<argument index="1" name="color" type="Color" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_gradient_color">
|
|
|
|
<return type="Color" />
|
|
|
|
<argument index="0" name="x" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_point_color">
|
|
|
|
<return type="Color" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_point_count">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_point_value">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="interpolation_type" type="int" setter="set_interpolation_type" getter="get_interpolation_type" default="1">
|
|
|
|
</member>
|
|
|
|
<member name="points" type="PoolRealArray" setter="set_points" getter="get_points" default="PoolRealArray( )">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|