godot_voxel/doc/classes/VoxelLibrary.xml
Marc Gilleron d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00

55 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelLibrary" inherits="Resource" version="3.5">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="bake">
<return type="void" />
<description>
</description>
</method>
<method name="create_voxel">
<return type="Voxel" />
<argument index="0" name="id" type="int" />
<argument index="1" name="name" type="String" />
<description>
</description>
</method>
<method name="get_voxel">
<return type="Voxel" />
<argument index="0" name="id" type="int" />
<description>
</description>
</method>
<method name="get_voxel_by_name">
<return type="Voxel" />
<argument index="0" name="name" type="String" />
<description>
</description>
</method>
<method name="get_voxel_index_from_name" qualifiers="const">
<return type="int" />
<argument index="0" name="name" type="String" />
<description>
</description>
</method>
</methods>
<members>
<member name="atlas_size" type="int" setter="set_atlas_size" getter="get_atlas_size" default="16">
</member>
<member name="bake_tangents" type="bool" setter="set_bake_tangents" getter="get_bake_tangents" default="true">
Enable this option if you need normal mapping on your voxels. If you don't need it, disabling can reduce memory usage and give a small speed boost.
</member>
<member name="voxel_count" type="int" setter="set_voxel_count" getter="get_voxel_count" default="0">
</member>
</members>
<constants>
<constant name="MAX_VOXEL_TYPES" value="65536">
</constant>
</constants>
</class>