2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2024-04-26 17:32:25 +02:00
|
|
|
<class name="MeshDataInstance" inherits="GeometryInstance" version="4.4">
|
2022-03-15 13:29:32 +01:00
|
|
|
<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>
|
2023-06-13 16:51:37 +02:00
|
|
|
<member name="portal_mode" type="int" setter="set_portal_mode" getter="get_portal_mode" overrides="CullInstance" enum="CullInstance.PortalMode" default="3" />
|
2022-03-15 13:29:32 +01:00
|
|
|
<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>
|