mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2024-11-20 10:47:22 +01:00
Re-extracted the class docs.
This commit is contained in:
parent
d4b0189041
commit
d25ee476c4
@ -15,6 +15,7 @@ def get_doc_classes():
|
||||
|
||||
"MeshDataInstanceProcessor",
|
||||
"PropDataMeshData",
|
||||
"MeshDataResourceCollection"
|
||||
]
|
||||
|
||||
def get_doc_path():
|
||||
|
37
doc_classes/MeshDataInstance.xml
Normal file
37
doc_classes/MeshDataInstance.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="MeshDataInstance" inherits="GeometryInstance" version="3.5">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="refresh">
|
||||
<return type="void" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="material" type="Material" setter="set_material" getter="get_material">
|
||||
</member>
|
||||
<member name="mesh_data" type="MeshDataResource" setter="set_mesh_data" getter="get_mesh_data">
|
||||
</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>
|
||||
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="mesh_data_resource_changed">
|
||||
<argument index="0" name="mdr" type="MeshDataResource" />
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="MeshDataResource" inherits="Resource" version="3.2">
|
||||
<class name="MeshDataResource" inherits="Resource" version="3.5">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
@ -7,10 +7,39 @@
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_collision_shape">
|
||||
<return type="void" />
|
||||
<argument index="0" name="shape" type="Transform" />
|
||||
<argument index="1" name="arg1" type="Shape" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_shape">
|
||||
<return type="Shape" />
|
||||
<argument index="0" name="index" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_shape_count" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="recompute_aabb">
|
||||
<return type="void" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="aabb" type="AABB" setter="set_aabb" getter="get_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||
</member>
|
||||
<member name="array" type="Array" setter="set_array" getter="get_array" default="[ ]">
|
||||
</member>
|
||||
<member name="collision_shapes" type="Array" setter="set_collision_shapes" getter="get_collision_shapes" default="[ ]">
|
||||
</member>
|
||||
<member name="seams" type="PoolIntArray" setter="set_seams" getter="get_seams" default="PoolIntArray( )">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
23
doc_classes/MeshDataResourceCollection.xml
Normal file
23
doc_classes/MeshDataResourceCollection.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="MeshDataResourceCollection" inherits="Resource" version="3.5">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_mdr">
|
||||
<return type="void" />
|
||||
<argument index="0" name="mdr" type="MeshDataResource" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="mdrs" type="Array" setter="set_mdrs" getter="get_mdrs" default="[ ]">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
23
doc_classes/PropDataMeshData.xml
Normal file
23
doc_classes/PropDataMeshData.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="PropDataMeshData" inherits="PropDataEntry" version="3.5">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="mesh" type="MeshDataResource" setter="set_mesh" getter="get_mesh">
|
||||
</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>
|
||||
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
Loading…
Reference in New Issue
Block a user