MultiMeshInstance
Inherits: GeometryInstance < VisualInstance < Spatial < Node < Object
Node that instances a MultiMesh.
Description
MultiMeshInstance
is a specialized node to instance GeometryInstances 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).
Tutorials
- Animating thousands of fish with MultiMeshInstance
- Using MultiMeshInstance
- Optimization using MultiMeshes
Properties
MultiMesh | multimesh |
Property Descriptions
MultiMesh multimesh
Setter | set_multimesh(value) |
Getter | get_multimesh() |
The MultiMesh resource that will be used and shared among all instances of the MultiMeshInstance
.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_multimeshinstance.html