godot_voxel/doc/classes/VoxelMesherBlocky.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

24 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelMesherBlocky" inherits="VoxelMesher" version="3.5">
<brief_description>
Produces a mesh by batching models corresponding to each voxel value, similar to games like Minecraft or StarMade.
</brief_description>
<description>
Occluded faces are removed from the result, and some degree of ambient occlusion can be baked on the edges. Values are expected to be in the [constant VoxelBuffer.CHANNEL_TYPE] channel. Models are defined with a [VoxelLibrary], in which model indices correspond to the voxel values. Models don't have to be cubes.
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="library" type="VoxelLibrary" setter="set_library" getter="get_library">
</member>
<member name="occlusion_darkness" type="float" setter="set_occlusion_darkness" getter="get_occlusion_darkness" default="0.8">
</member>
<member name="occlusion_enabled" type="bool" setter="set_occlusion_enabled" getter="get_occlusion_enabled" default="true">
</member>
</members>
<constants>
</constants>
</class>