mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-14 10:17:20 +01:00
110 lines
2.9 KiB
XML
110 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PropData" inherits="Resource" category="Core" version="3.2">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="add_meshes_into">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="mesher" type="VoxelMesher">
|
|
</argument>
|
|
<argument index="1" name="texture_packer" type="TexturePacker">
|
|
</argument>
|
|
<argument index="2" name="parent_transform" type="Transform">
|
|
</argument>
|
|
<argument index="3" name="snap_spatial" type="Node">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_prop">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="prop" type="PropDataEntry">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_prop_lights_into">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="chunk" type="Node">
|
|
</argument>
|
|
<argument index="1" name="parent_transform" type="Transform">
|
|
</argument>
|
|
<argument index="2" name="allow_snap" type="bool">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="add_textures_into">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="texture_packer" type="TexturePacker">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_next_snapped_prop_transform">
|
|
<return type="Transform">
|
|
</return>
|
|
<argument index="0" name="spatial" type="Node">
|
|
</argument>
|
|
<argument index="1" name="parent_transform" type="Transform">
|
|
</argument>
|
|
<argument index="2" name="snap_to_mesh" type="bool">
|
|
</argument>
|
|
<argument index="3" name="snap_axis" type="Vector3">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_prop" qualifiers="const">
|
|
<return type="PropDataEntry">
|
|
</return>
|
|
<argument index="0" name="index" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_prop_count" qualifiers="const">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="remove_prop">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="index" type="int">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_prop">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="index" type="int">
|
|
</argument>
|
|
<argument index="1" name="spell" type="PropDataEntry">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="props" type="Array" setter="set_props" getter="get_props" default="[ ]">
|
|
</member>
|
|
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, -1, 0 )">
|
|
</member>
|
|
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|