102 lines
2.8 KiB
XML
102 lines
2.8 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<class name="VoxelTerrain" inherits="Spatial" category="Core" version="3.2">
|
||
|
<brief_description>
|
||
|
</brief_description>
|
||
|
<description>
|
||
|
</description>
|
||
|
<tutorials>
|
||
|
</tutorials>
|
||
|
<methods>
|
||
|
<method name="block_to_voxel">
|
||
|
<return type="Vector3">
|
||
|
</return>
|
||
|
<argument index="0" name="block_pos" type="Vector3">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="get_material" qualifiers="const">
|
||
|
<return type="Material">
|
||
|
</return>
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="get_statistics" qualifiers="const">
|
||
|
<return type="Dictionary">
|
||
|
</return>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="get_storage">
|
||
|
<return type="VoxelMap">
|
||
|
</return>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="make_area_dirty">
|
||
|
<return type="void">
|
||
|
</return>
|
||
|
<argument index="0" name="aabb" type="AABB">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="make_voxel_dirty">
|
||
|
<return type="void">
|
||
|
</return>
|
||
|
<argument index="0" name="pos" type="Vector3">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="raycast">
|
||
|
<return type="Variant">
|
||
|
</return>
|
||
|
<argument index="0" name="origin" type="Vector3">
|
||
|
</argument>
|
||
|
<argument index="1" name="direction" type="Vector3">
|
||
|
</argument>
|
||
|
<argument index="2" name="max_distance" type="float" default="100">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="set_material">
|
||
|
<return type="void">
|
||
|
</return>
|
||
|
<argument index="0" name="id" type="int">
|
||
|
</argument>
|
||
|
<argument index="1" name="material" type="Material">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="voxel_to_block">
|
||
|
<return type="Vector3">
|
||
|
</return>
|
||
|
<argument index="0" name="voxel_pos" type="Vector3">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
</methods>
|
||
|
<members>
|
||
|
<member name="generate_collisions" type="bool" setter="set_generate_collisions" getter="get_generate_collisions" default="true">
|
||
|
</member>
|
||
|
<member name="smooth_meshing_enabled" type="bool" setter="set_smooth_meshing_enabled" getter="is_smooth_meshing_enabled" default="false">
|
||
|
</member>
|
||
|
<member name="stream" type="VoxelStream" setter="set_stream" getter="get_stream">
|
||
|
</member>
|
||
|
<member name="view_distance" type="int" setter="set_view_distance" getter="get_view_distance" default="128">
|
||
|
</member>
|
||
|
<member name="viewer_path" type="NodePath" setter="set_viewer_path" getter="get_viewer_path" default="NodePath("")">
|
||
|
</member>
|
||
|
<member name="voxel_library" type="VoxelLibrary" setter="set_voxel_library" getter="get_voxel_library">
|
||
|
</member>
|
||
|
</members>
|
||
|
<constants>
|
||
|
</constants>
|
||
|
</class>
|