voxelman/doc_classes/VoxelMesher.xml

380 lines
9.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelMesher" inherits="Reference" 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_mesher" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</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="VoxelChunk">
</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_mesher">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</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="uv" type="Vector2">
</argument>
<description>
</description>
</method>
<method name="add_uv2">
<return type="void">
</return>
<argument index="0" name="uv" 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="VoxelChunk">
</argument>
<description>
</description>
</method>
<method name="bake_liquid_colors">
<return type="void">
</return>
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
<method name="build_collider" qualifiers="const">
<return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="build_mesh">
<return type="Array">
</return>
<description>
</description>
</method>
<method name="build_mesh_into">
<return type="void">
</return>
<argument index="0" name="mesh_rid" type="RID">
</argument>
<description>
</description>
</method>
<method name="generate_normals">
<return type="void">
</return>
<argument index="0" name="flip" type="bool" default="false">
</argument>
<description>
</description>
</method>
<method name="get_color" qualifiers="const">
<return type="Color">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_colors" qualifiers="const">
<return type="PoolColorArray">
</return>
<description>
</description>
</method>
<method name="get_index" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_indices" qualifiers="const">
<return type="PoolIntArray">
</return>
<description>
</description>
</method>
<method name="get_indices_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_normal" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_normals" qualifiers="const">
<return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="get_uv" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_uv2" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_uv2s" qualifiers="const">
<return type="PoolVector2Array">
</return>
<description>
</description>
</method>
<method name="get_uvs" qualifiers="const">
<return type="PoolVector2Array">
</return>
<description>
</description>
</method>
<method name="get_vertex" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_vertex_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_vertices" qualifiers="const">
<return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="remove_doubles">
<return type="void">
</return>
<description>
</description>
</method>
<method name="remove_doubles_hashed">
<return type="void">
</return>
<description>
</description>
</method>
<method name="remove_index">
<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>
<method name="set_colors">
<return type="void">
</return>
<argument index="0" name="values" type="PoolColorArray">
</argument>
<description>
</description>
</method>
<method name="set_indices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolIntArray">
</argument>
<description>
</description>
</method>
<method name="set_normals">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
<method name="set_uv2s">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="set_uvs">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="set_vertices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<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="format" type="int" setter="set_format" getter="get_format" default="0">
</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="mesher_index" type="int" setter="set_mesher_index" getter="get_mesher_index" default="0">
</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>