2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="MultiMeshInstance" inherits="GeometryInstance" version="3.5">
|
|
|
|
<brief_description>
|
|
|
|
Node that instances a [MultiMesh].
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
[MultiMeshInstance] is a specialized node to instance [GeometryInstance]s based on a [MultiMesh] resource.
|
|
|
|
This is useful to optimize the rendering of a high amount of instances of a given mesh (for example trees in a forest or grass strands).
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
<link>$DOCS_URL/tutorials/performance/vertex_animation/animating_thousands_of_fish.html</link>
|
|
|
|
<link>$DOCS_URL/tutorials/3d/using_multi_mesh_instance.html</link>
|
|
|
|
<link>$DOCS_URL/tutorials/performance/using_multimesh.html</link>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh">
|
|
|
|
The [MultiMesh] resource that will be used and shared among all instances of the [MultiMeshInstance].
|
|
|
|
</member>
|
2022-03-16 02:51:50 +01:00
|
|
|
<member name="portal_mode" type="int" setter="set_portal_mode" getter="get_portal_mode" overrides="CullInstance" enum="CullInstance.PortalMode" default="0" />
|
2022-03-15 13:29:32 +01:00
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|