summaryrefslogtreecommitdiff
path: root/doc/classes/MultiMeshInstance.xml
blob: 7dcfd2808d438ab1906982d796179a75f145386b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MultiMeshInstance" inherits="GeometryInstance" category="Core" version="3.2">
	<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>http://docs.godotengine.org/en/latest/tutorials/3d/vertex_animation/animating_thousands_of_fish.html</link>
		<link>http://docs.godotengine.org/en/latest/tutorials/3d/using_multi_mesh_instance.html</link>
		<link>http://docs.godotengine.org/en/latest/tutorials/optimization/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>
	</members>
	<constants>
	</constants>
</class>