mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
286 lines
7.0 KiB
XML
286 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VoxelMesher" inherits="Reference" category="Core" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_add_chunk" qualifiers="virtual">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="VoxelChunk">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_add_chunk_liquid" qualifiers="virtual">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="VoxelChunk">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_bake_colors" qualifiers="virtual">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="VoxelChunk">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_bake_liquid_colors" qualifiers="virtual">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="VoxelChunk">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_chunk">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="Node">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_chunk_liquid">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="Node">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_color">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="color" type="Color">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_indices">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="indice" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesh_data_resource">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="mesh" type="MeshDataResource">
|
|
</argument>
|
|
<argument index="1" name="position" type="Vector3" default="Rect2( 0, 0, 1, 1 )">
|
|
</argument>
|
|
<argument index="2" name="rotation" type="Vector3" default="Vector3( 1, 1, 1 )">
|
|
</argument>
|
|
<argument index="3" name="scale" type="Vector3" default="Vector3( 0, 0, 0 )">
|
|
</argument>
|
|
<argument index="4" name="uv_rect" type="Rect2" default="Vector3( 0, 0, 0 )">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_mesh_data_resource_transform">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="mesh" type="MeshDataResource">
|
|
</argument>
|
|
<argument index="1" name="transform" type="Transform">
|
|
</argument>
|
|
<argument index="2" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_normal">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="normal" type="Vector3">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_uv">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="vertex" type="Vector2">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_vertex">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="vertex" type="Vector3">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="bake_colors">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="Node">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="bake_liquid_colors">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="Node">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="build_mesh">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="mesh_rid" type="RID">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_color">
|
|
<return type="Color">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_color_count">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_indice">
|
|
<return type="int">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_indices_count">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_normal">
|
|
<return type="Vector3">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_normal_count">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_uv">
|
|
<return type="Vector2">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_uv_count">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_vertex">
|
|
<return type="Vector3">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_vertex_count">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_color">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_indices">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_normal">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_uv">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_vertex">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="idx" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="reset">
|
|
<return type="void">
|
|
</return>
|
|
<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="library" type="VoxelmanLibrary" setter="set_library" getter="get_library">
|
|
</member>
|
|
<member name="lod_size" type="int" setter="set_lod_size" getter="get_lod_size" default="1">
|
|
</member>
|
|
<member name="material" type="Material" setter="set_material" getter="get_material">
|
|
</member>
|
|
<member name="uv_margin" type="Rect2" setter="set_uv_margin" getter="get_uv_margin" default="Rect2( 0, 0, 1, 1 )">
|
|
</member>
|
|
<member name="voxel_scale" type="float" setter="set_voxel_scale" getter="get_voxel_scale" default="1.0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|