summaryrefslogtreecommitdiff
path: root/doc/classes/MultiMeshInstance3D.xml
blob: 158579e952032a87142d5e9d49a5301636f82a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MultiMeshInstance3D" inherits="GeometryInstance3D" version="4.0">
	<brief_description>
		Node that instances a [MultiMesh].
	</brief_description>
	<description>
		[MultiMeshInstance3D] is a specialized node to instance [GeometryInstance3D]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 title="Animating thousands of fish with MultiMeshInstance">https://docs.godotengine.org/en/latest/tutorials/performance/vertex_animation/animating_thousands_of_fish.html</link>
		<link title="Using MultiMeshInstance">https://docs.godotengine.org/en/latest/tutorials/3d/using_multi_mesh_instance.html</link>
		<link title="Optimization using MultiMeshes">https://docs.godotengine.org/en/latest/tutorials/performance/using_multimesh.html</link>
	</tutorials>
	<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 [MultiMeshInstance3D].
		</member>
	</members>
</class>