<?xml version="1.0" encoding="UTF-8" ?> <class name="VoxelLibrary" inherits="Resource" version="3.7"> <brief_description> </brief_description> <description> </description> <tutorials> </tutorials> <methods> <method name="_liquid_material_cache_get" qualifiers="virtual"> <return type="TerrainMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_liquid_material_cache_get_key" qualifiers="virtual"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="_liquid_material_cache_unref" qualifiers="virtual"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_material_cache_get" qualifiers="virtual"> <return type="TerrainMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_material_cache_get_key" qualifiers="virtual"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="_material_cache_unref" qualifiers="virtual"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_prop_material_cache_get" qualifiers="virtual"> <return type="TerrainMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_prop_material_cache_get_key" qualifiers="virtual"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="_prop_material_cache_unref" qualifiers="virtual"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="_setup_material_albedo" qualifiers="virtual"> <return type="void" /> <argument index="0" name="material_index" type="int" /> <argument index="1" name="texture" type="Texture" /> <description> </description> </method> <method name="_supports_caching" qualifiers="virtual"> <return type="bool" /> <description> </description> </method> <method name="liquid_material_add"> <return type="void" /> <argument index="0" name="value" type="Material" /> <description> </description> </method> <method name="liquid_material_cache_get"> <return type="VoxelMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="liquid_material_cache_get_key"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="liquid_material_cache_unref"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="liquid_material_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="liquid_material_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="liquid_material_lod_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="liquid_material_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="liquid_material_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="value" type="Material" /> <description> </description> </method> <method name="liquid_materials_clear"> <return type="void" /> <description> </description> </method> <method name="material_add"> <return type="void" /> <argument index="0" name="value" type="Material" /> <description> </description> </method> <method name="material_cache_get"> <return type="VoxelMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="material_cache_get_key"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="material_cache_unref"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="material_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="material_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="material_lod_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="material_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="material_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="value" type="Material" /> <description> </description> </method> <method name="materials_clear"> <return type="void" /> <description> </description> </method> <method name="prop_add"> <return type="void" /> <argument index="0" name="value" type="PropData" /> <description> </description> </method> <method name="prop_get"> <return type="PropData" /> <argument index="0" name="id" type="int" /> <description> </description> </method> <method name="prop_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="prop_has" qualifiers="const"> <return type="bool" /> <argument index="0" name="prop" type="PropData" /> <description> </description> </method> <method name="prop_material_add"> <return type="void" /> <argument index="0" name="value" type="Material" /> <description> </description> </method> <method name="prop_material_cache_get"> <return type="VoxelMaterialCache" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="prop_material_cache_get_key"> <return type="void" /> <argument index="0" name="chunk" type="VoxelChunk" /> <description> </description> </method> <method name="prop_material_cache_unref"> <return type="void" /> <argument index="0" name="key" type="int" /> <description> </description> </method> <method name="prop_material_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="prop_material_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="prop_material_lod_get"> <return type="Material" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="prop_material_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="prop_material_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="value" type="Material" /> <description> </description> </method> <method name="prop_materials_clear"> <return type="void" /> <description> </description> </method> <method name="prop_remove"> <return type="void" /> <argument index="0" name="id" type="int" /> <description> </description> </method> <method name="prop_set"> <return type="void" /> <argument index="0" name="id" type="int" /> <argument index="1" name="surface" type="PropData" /> <description> </description> </method> <method name="props_clear"> <return type="void" /> <description> </description> </method> <method name="refresh_rects"> <return type="void" /> <description> </description> </method> <method name="scene_add"> <return type="void" /> <argument index="0" name="value" type="PackedScene" /> <description> </description> </method> <method name="scene_get"> <return type="PackedScene" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="scene_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="scene_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="scene_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="value" type="PackedScene" /> <description> </description> </method> <method name="scenes_clear"> <return type="void" /> <description> </description> </method> <method name="setup_material_albedo"> <return type="void" /> <argument index="0" name="material_index" type="int" /> <argument index="1" name="texture" type="Texture" /> <description> </description> </method> <method name="supports_caching"> <return type="bool" /> <description> </description> </method> <method name="voxel_surface_add"> <return type="void" /> <argument index="0" name="value" type="VoxelSurface" /> <description> </description> </method> <method name="voxel_surface_get"> <return type="VoxelSurface" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="voxel_surface_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="voxel_surface_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="voxel_surface_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="surface" type="VoxelSurface" /> <description> </description> </method> <method name="voxel_surfaces_clear"> <return type="void" /> <description> </description> </method> </methods> <members> <member name="initialized" type="bool" setter="set_initialized" getter="get_initialized"> </member> <member name="liquid_materials" type="Array" setter="liquid_materials_set" getter="liquid_materials_get" default="[ ]"> </member> <member name="materials" type="Array" setter="materials_set" getter="materials_get" default="[ ]"> </member> <member name="prop_materials" type="Array" setter="prop_materials_set" getter="prop_materials_get" default="[ ]"> </member> </members> <constants> <constant name="MATERIAL_INDEX_VOXELS" value="0"> </constant> <constant name="MATERIAL_INDEX_LIQUID" value="1"> </constant> <constant name="MATERIAL_INDEX_PROP" value="2"> </constant> </constants> </class>