65 lines
1.7 KiB
XML
65 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VoxelLibrary" inherits="Resource" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="bake">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="create_voxel">
|
|
<return type="Voxel">
|
|
</return>
|
|
<argument index="0" name="id" type="int">
|
|
</argument>
|
|
<argument index="1" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel">
|
|
<return type="Voxel">
|
|
</return>
|
|
<argument index="0" name="id" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel_by_name">
|
|
<return type="Voxel">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel_index_from_name" qualifiers="const">
|
|
<return type="int">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<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>
|