170 lines
4.2 KiB
XML
170 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VoxelMap" inherits="Reference" category="Core" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="block_to_voxel" qualifiers="const">
|
|
<return type="Vector3">
|
|
</return>
|
|
<argument index="0" name="block_pos" type="Vector3">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_block_size" qualifiers="const">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_buffer_copy">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="min_pos" type="Vector3">
|
|
</argument>
|
|
<argument index="1" name="out_buffer" type="VoxelBuffer">
|
|
</argument>
|
|
<argument index="2" name="channel" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_default_voxel">
|
|
<return type="int">
|
|
</return>
|
|
<argument index="0" name="channel" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel">
|
|
<return type="int">
|
|
</return>
|
|
<argument index="0" name="x" type="int">
|
|
</argument>
|
|
<argument index="1" name="y" type="int">
|
|
</argument>
|
|
<argument index="2" name="z" type="int">
|
|
</argument>
|
|
<argument index="3" name="c" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel_f">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="x" type="int">
|
|
</argument>
|
|
<argument index="1" name="y" type="int">
|
|
</argument>
|
|
<argument index="2" name="z" type="int">
|
|
</argument>
|
|
<argument index="3" name="c" type="int" default="1">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_voxel_v">
|
|
<return type="int">
|
|
</return>
|
|
<argument index="0" name="pos" type="Vector3">
|
|
</argument>
|
|
<argument index="1" name="c" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="has_block">
|
|
<return type="bool">
|
|
</return>
|
|
<argument index="0" name="x" type="int">
|
|
</argument>
|
|
<argument index="1" name="y" type="int">
|
|
</argument>
|
|
<argument index="2" name="z" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_block_buffer">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="block_pos" type="Vector3">
|
|
</argument>
|
|
<argument index="1" name="buffer" type="VoxelBuffer">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_default_voxel">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="value" type="int">
|
|
</argument>
|
|
<argument index="1" name="channel" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_voxel">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="value" type="int">
|
|
</argument>
|
|
<argument index="1" name="x" type="int">
|
|
</argument>
|
|
<argument index="2" name="y" type="int">
|
|
</argument>
|
|
<argument index="3" name="z" type="int">
|
|
</argument>
|
|
<argument index="4" name="c" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_voxel_f">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="value" type="float">
|
|
</argument>
|
|
<argument index="1" name="x" type="int">
|
|
</argument>
|
|
<argument index="2" name="y" type="int">
|
|
</argument>
|
|
<argument index="3" name="z" type="int">
|
|
</argument>
|
|
<argument index="4" name="c" type="int" default="1">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_voxel_v">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="value" type="int">
|
|
</argument>
|
|
<argument index="1" name="pos" type="Vector3">
|
|
</argument>
|
|
<argument index="2" name="c" type="int" default="0">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="voxel_to_block" qualifiers="const">
|
|
<return type="Vector3">
|
|
</return>
|
|
<argument index="0" name="voxel_pos" type="Vector3">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|