mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
293 lines
8.8 KiB
XML
293 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Terrain2DMesher" inherits="Reference" version="4.3">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_add_chunk" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_add_mesher" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="mesher" type="Terrain2DMesher" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_bake_colors" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_bake_liquid_colors" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_chunk">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_color">
|
|
<return type="void" />
|
|
<argument index="0" name="color" type="Color" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_indices">
|
|
<return type="void" />
|
|
<argument index="0" name="indice" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesh_data_resource">
|
|
<return type="void" />
|
|
<argument index="0" name="mesh" type="MeshDataResource" />
|
|
<argument index="1" name="position" type="Vector3" default="Vector3( 0, 0, 0 )" />
|
|
<argument index="2" name="rotation" type="Vector3" default="Vector3( 0, 0, 0 )" />
|
|
<argument index="3" name="scale" type="Vector3" default="Vector3( 1, 1, 1 )" />
|
|
<argument index="4" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesh_data_resource_transform">
|
|
<return type="void" />
|
|
<argument index="0" name="mesh" type="MeshDataResource" />
|
|
<argument index="1" name="transform" type="Transform2D" />
|
|
<argument index="2" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesh_data_resource_transform_colored">
|
|
<return type="void" />
|
|
<argument index="0" name="mesh" type="MeshDataResource" />
|
|
<argument index="1" name="transform" type="Transform2D" />
|
|
<argument index="2" name="colors" type="PoolColorArray" />
|
|
<argument index="3" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesher">
|
|
<return type="void" />
|
|
<argument index="0" name="mesher" type="Terrain2DMesher" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_uv">
|
|
<return type="void" />
|
|
<argument index="0" name="uv" type="Vector2" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_vertex">
|
|
<return type="void" />
|
|
<argument index="0" name="vertex" type="Vector2" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="bake_colors">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="bake_liquid_colors">
|
|
<return type="void" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_collider" qualifiers="const">
|
|
<return type="PoolVector2Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_mesh">
|
|
<return type="Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_mesh_into">
|
|
<return type="void" />
|
|
<argument index="0" name="mesh_rid" type="RID" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_stored_mesh">
|
|
<return type="Array" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_stored_mesh_into">
|
|
<return type="void" />
|
|
<argument index="0" name="index" type="int" />
|
|
<argument index="1" name="mesh" type="RID" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="create_terrain_tile_collider_shape">
|
|
<return type="Shape2D" />
|
|
<argument index="0" name="chunk" type="Terrain2DChunk" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_color" qualifiers="const">
|
|
<return type="Color" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_colors" qualifiers="const">
|
|
<return type="PoolColorArray" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_index" qualifiers="const">
|
|
<return type="int" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_indices" qualifiers="const">
|
|
<return type="PoolIntArray" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_indices_count" qualifiers="const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_stored_mesh_count" qualifiers="const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_stored_mesh_transform">
|
|
<return type="Transform2D" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_uv" qualifiers="const">
|
|
<return type="Vector2" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_uvs" qualifiers="const">
|
|
<return type="PoolVector2Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_vertex" qualifiers="const">
|
|
<return type="Vector2" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_vertex_count" qualifiers="const">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_vertices" qualifiers="const">
|
|
<return type="PoolVector2Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_doubles">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_doubles_hashed">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_index">
|
|
<return type="void" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_vertex">
|
|
<return type="void" />
|
|
<argument index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="reset">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_colors">
|
|
<return type="void" />
|
|
<argument index="0" name="values" type="PoolColorArray" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_indices">
|
|
<return type="void" />
|
|
<argument index="0" name="values" type="PoolIntArray" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_uvs">
|
|
<return type="void" />
|
|
<argument index="0" name="values" type="PoolVector2Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_vertices">
|
|
<return type="void" />
|
|
<argument index="0" name="values" type="PoolVector2Array" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="store_mesh">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="ao_strength" type="float" setter="set_ao_strength" getter="get_ao_strength" default="0.25">
|
|
</member>
|
|
<member name="base_light_value" type="float" setter="set_base_light_value" getter="get_base_light_value" default="0.5">
|
|
</member>
|
|
<member name="cell_size_x" type="int" setter="set_cell_size_x" getter="get_cell_size_x" default="32">
|
|
</member>
|
|
<member name="cell_size_y" type="int" setter="set_cell_size_y" getter="get_cell_size_y" default="32">
|
|
</member>
|
|
<member name="channel_index_type" type="int" setter="set_channel_index_type" getter="get_channel_index_type" default="0">
|
|
</member>
|
|
<member name="format" type="int" setter="set_format" getter="get_format" default="0">
|
|
</member>
|
|
<member name="library" type="Terrain2DLibrary" setter="set_library" getter="get_library">
|
|
</member>
|
|
<member name="material" type="Material" setter="set_material" getter="get_material">
|
|
</member>
|
|
<member name="mesh_transform" type="Transform2D" setter="set_mesh_transform" getter="get_mesh_transform" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
|
|
</member>
|
|
<member name="texture_scale" type="int" setter="set_texture_scale" getter="get_texture_scale" default="1">
|
|
</member>
|
|
<member name="uv_margin" type="Rect2" setter="set_uv_margin" getter="get_uv_margin" default="Rect2( 0, 0, 1, 1 )">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|