godot_voxel/doc/classes/VoxelBuffer.xml

220 lines
5.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelBuffer" inherits="Reference" category="Core" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="clear">
<return type="void">
</return>
<description>
</description>
</method>
<method name="copy_from">
<return type="void">
</return>
<argument index="0" name="other" type="VoxelBuffer">
</argument>
<argument index="1" name="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="copy_from_area">
<return type="void">
</return>
<argument index="0" name="other" type="VoxelBuffer">
</argument>
<argument index="1" name="src_min" type="Vector3">
</argument>
<argument index="2" name="src_max" type="Vector3">
</argument>
<argument index="3" name="dst_min" type="Vector3">
</argument>
<argument index="4" name="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="create">
<return type="void">
</return>
<argument index="0" name="sx" type="int">
</argument>
<argument index="1" name="sy" type="int">
</argument>
<argument index="2" name="sz" type="int">
</argument>
<description>
</description>
</method>
<method name="fill">
<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="fill_area">
<return type="void">
</return>
<argument index="0" name="value" type="int">
</argument>
<argument index="1" name="min" type="Vector3">
</argument>
<argument index="2" name="max" type="Vector3">
</argument>
<argument index="3" name="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="fill_f">
<return type="void">
</return>
<argument index="0" name="value" type="float">
</argument>
<argument index="1" name="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="get_size" qualifiers="const">
<return type="Vector3">
</return>
<description>
</description>
</method>
<method name="get_size_x" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_size_y" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_size_z" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_voxel" qualifiers="const">
<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="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="get_voxel_f" qualifiers="const">
<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="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="is_uniform" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="channel" type="int">
</argument>
<description>
</description>
</method>
<method name="optimize">
<return type="void">
</return>
<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="channel" 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="channel" type="int" default="0">
</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="channel" type="int" default="0">
</argument>
<description>
</description>
</method>
</methods>
<constants>
<constant name="CHANNEL_TYPE" value="0" enum="ChannelId">
</constant>
<constant name="CHANNEL_ISOLEVEL" value="1" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA2" value="2" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA3" value="3" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA4" value="4" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA5" value="5" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA6" value="6" enum="ChannelId">
</constant>
<constant name="CHANNEL_DATA7" value="7" enum="ChannelId">
</constant>
<constant name="MAX_CHANNELS" value="8" enum="ChannelId">
</constant>
</constants>
</class>