pandemonium_engine/doc/classes/Vector2i.xml

120 lines
2.8 KiB
XML
Raw Normal View History

2022-03-24 01:22:45 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2024-04-26 17:32:25 +02:00
<class name="Vector2i" version="4.4">
2022-03-24 01:22:45 +01:00
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="Vector2i">
<return type="Vector2i" />
<argument index="0" name="x" type="int" />
<argument index="1" name="y" type="int" />
<description>
</description>
</method>
<method name="Vector2i">
<return type="Vector2i" />
<argument index="0" name="from" type="Vector2" />
<description>
</description>
</method>
2022-08-21 00:40:49 +02:00
<method name="abs">
<return type="Vector2i" />
<description>
</description>
</method>
<method name="aspect">
<return type="float" />
<description>
</description>
</method>
<method name="clamp">
<return type="Vector2i" />
<argument index="0" name="min" type="Vector2i" />
<argument index="1" name="max" type="Vector2i" />
<description>
</description>
</method>
<method name="length">
<return type="float" />
<description>
</description>
</method>
<method name="length_squared">
<return type="int" />
<description>
</description>
</method>
2022-03-24 01:22:45 +01:00
<method name="linear_interpolate">
<return type="Vector2i" />
2022-08-21 00:40:49 +02:00
<argument index="0" name="to" type="Vector2i" />
2022-03-24 01:22:45 +01:00
<argument index="1" name="weight" type="float" />
<description>
</description>
</method>
2022-08-21 00:40:49 +02:00
<method name="max">
<return type="Vector2i" />
<argument index="0" name="vector2i" type="Vector2i" />
<description>
</description>
</method>
<method name="max_axis">
<return type="int" />
<description>
</description>
</method>
<method name="min">
<return type="Vector2i" />
<argument index="0" name="vector2i" type="Vector2i" />
<description>
</description>
</method>
<method name="min_axis">
<return type="int" />
<description>
</description>
</method>
<method name="set_all">
<argument index="0" name="value" type="int" />
<description>
</description>
</method>
<method name="sign">
<return type="Vector2i" />
<description>
</description>
</method>
<method name="to_vector2">
<return type="Vector2" />
<description>
</description>
</method>
2022-03-24 01:22:45 +01:00
</methods>
<members>
<member name="x" type="int" setter="" getter="" default="0">
</member>
<member name="y" type="int" setter="" getter="" default="0">
</member>
</members>
<constants>
<constant name="AXIS_X" value="0">
</constant>
<constant name="AXIS_Y" value="1">
</constant>
<constant name="ZERO" value="Vector2i( 0, 0 )">
</constant>
<constant name="ONE" value="Vector2i( 1, 1 )">
</constant>
<constant name="LEFT" value="Vector2i( -1, 0 )">
</constant>
<constant name="RIGHT" value="Vector2i( 1, 0 )">
</constant>
<constant name="UP" value="Vector2i( 0, -1 )">
</constant>
<constant name="DOWN" value="Vector2i( 0, 1 )">
</constant>
</constants>
</class>