mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
63 lines
2.0 KiB
XML
63 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="TerrainSurface" inherits="Resource" version="3.11">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_rect" qualifiers="const">
|
|
<return type="Rect2" />
|
|
<argument index="0" name="side" type="int" enum="TerrainSurface.TerrainSurfaceSides" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="refresh_rects">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_rect">
|
|
<return type="void" />
|
|
<argument index="0" name="side" type="int" enum="TerrainSurface.TerrainSurfaceSides" />
|
|
<argument index="1" name="rect" type="Rect2" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="transform_uv" qualifiers="const">
|
|
<return type="Vector2" />
|
|
<argument index="0" name="side" type="int" enum="TerrainSurface.TerrainSurfaceSides" />
|
|
<argument index="1" name="uv" type="Vector2" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="transform_uv_scaled" qualifiers="const">
|
|
<return type="Vector2" />
|
|
<argument index="0" name="side" type="int" enum="TerrainSurface.TerrainSurfaceSides" />
|
|
<argument index="1" name="uv" type="Vector2" />
|
|
<argument index="2" name="p_current_x" type="int" />
|
|
<argument index="3" name="p_current_y" type="int" />
|
|
<argument index="4" name="max" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="id" type="int" setter="set_id" getter="get_id" default="0">
|
|
</member>
|
|
<member name="voxel_name" type="String" setter="set_name" getter="get_name" default="""">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="TERRAIN_SIDE_TOP" value="0" enum="TerrainSurfaceSides">
|
|
</constant>
|
|
<constant name="TERRAIN_SIDE_BOTTOM" value="1" enum="TerrainSurfaceSides">
|
|
</constant>
|
|
<constant name="TERRAIN_SIDE_SIDE" value="2" enum="TerrainSurfaceSides">
|
|
</constant>
|
|
<constant name="TERRAIN_SIDES_COUNT" value="3">
|
|
</constant>
|
|
</constants>
|
|
</class>
|