pandemonium_engine/doc/classes/Vector4.xml

221 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="Vector4" version="4.3">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="Vector4">
<return type="Vector4" />
<argument index="0" name="from" type="Vector4i" />
<description>
</description>
</method>
<method name="Vector4">
<return type="Vector4" />
<argument index="0" name="x" type="float" />
<argument index="1" name="y" type="float" />
<argument index="2" name="z" type="float" />
<argument index="3" name="w" type="float" />
<description>
</description>
</method>
<method name="abs">
<return type="Vector4" />
<description>
</description>
</method>
<method name="ceil">
<return type="Vector4" />
<description>
</description>
</method>
<method name="clamp">
<return type="Vector4" />
<argument index="0" name="min" type="Vector4" />
<argument index="1" name="max" type="Vector4" />
<description>
</description>
</method>
<method name="cubic_interpolate">
<return type="Vector4" />
<argument index="0" name="b" type="Vector4" />
<argument index="1" name="pre_a" type="Vector4" />
<argument index="2" name="post_b" type="Vector4" />
<argument index="3" name="weight" type="float" />
<description>
</description>
</method>
<method name="direction_to">
<return type="Vector4" />
<argument index="0" name="b" type="Vector4" />
<description>
</description>
</method>
<method name="distance_squared_to">
<return type="float" />
<argument index="0" name="b" type="Vector4" />
<description>
</description>
</method>
<method name="distance_to">
<return type="float" />
<argument index="0" name="b" type="Vector4" />
<description>
</description>
</method>
<method name="dot">
<return type="float" />
<argument index="0" name="b" type="Vector4" />
<description>
</description>
</method>
<method name="floor">
<return type="Vector4" />
<description>
</description>
</method>
<method name="get_axis">
<return type="int" />
<argument index="0" name="axis" type="int" />
<description>
</description>
</method>
<method name="inverse">
<return type="Vector4" />
<description>
</description>
</method>
<method name="is_equal_approx">
<return type="bool" />
<argument index="0" name="v" type="Vector4" />
<description>
</description>
</method>
<method name="is_zero_approx">
<return type="bool" />
<description>
Returns [code]true[/code] if this vector's values are approximately zero, by running [method @GDScript.is_zero_approx] on each component.
This method is faster than using [method is_equal_approx] with one value as a zero vector.
</description>
</method>
<method name="is_normalized">
<return type="bool" />
<description>
</description>
</method>
<method name="length">
<return type="float" />
<description>
</description>
</method>
<method name="length_squared">
<return type="float" />
<description>
</description>
</method>
<method name="limit_length">
<return type="Vector4" />
<argument index="0" name="len" type="float" default="1.0" />
<description>
</description>
</method>
<method name="linear_interpolate">
<return type="Vector4" />
<argument index="0" name="to" type="Vector4" />
<argument index="1" name="weight" type="float" />
<description>
</description>
</method>
<method name="max_axis">
<return type="int" />
<description>
</description>
</method>
<method name="min_axis">
<return type="int" />
<description>
</description>
</method>
<method name="normalize">
<description>
</description>
</method>
<method name="normalized">
<return type="Vector4" />
<description>
</description>
</method>
<method name="posmod">
<return type="Vector4" />
<argument index="0" name="mod" type="float" />
<description>
</description>
</method>
<method name="posmodv">
<return type="Vector4" />
<argument index="0" name="modv" type="Vector4" />
<description>
</description>
</method>
<method name="round">
<return type="Vector4" />
<description>
</description>
</method>
<method name="set_all">
<argument index="0" name="value" type="float" />
<description>
</description>
</method>
<method name="set_axis">
<argument index="0" name="axis" type="int" />
<argument index="1" name="value" type="float" />
<description>
</description>
</method>
<method name="sign">
<return type="Vector4" />
<description>
</description>
</method>
<method name="snap">
<argument index="0" name="val" type="Vector4" />
<description>
</description>
</method>
<method name="snapped">
<return type="Vector4" />
<argument index="0" name="by" type="Vector4" />
<description>
</description>
</method>
<method name="zero">
<description>
</description>
</method>
</methods>
<members>
<member name="w" type="float" setter="" getter="" default="0.0">
</member>
<member name="x" type="float" setter="" getter="" default="0.0">
</member>
<member name="y" type="float" setter="" getter="" default="0.0">
</member>
<member name="z" type="float" setter="" getter="" default="0.0">
</member>
</members>
<constants>
<constant name="AXIS_X" value="0">
</constant>
<constant name="AXIS_Y" value="1">
</constant>
<constant name="AXIS_Z" value="2">
</constant>
<constant name="AXIS_W" value="3">
</constant>
</constants>
</class>