MultiMeshInstance3D.xml 1.2 KB

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="MultiMeshInstance3D" inherits="GeometryInstance3D" version="4.0">
  3. <brief_description>
  4. Node that instances a [MultiMesh].
  5. </brief_description>
  6. <description>
  7. [MultiMeshInstance3D] is a specialized node to instance [GeometryInstance3D]s based on a [MultiMesh] resource.
  8. 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).
  9. </description>
  10. <tutorials>
  11. <link title="Animating thousands of fish with MultiMeshInstance">https://docs.godotengine.org/en/latest/tutorials/performance/vertex_animation/animating_thousands_of_fish.html</link>
  12. <link title="Using MultiMeshInstance">https://docs.godotengine.org/en/latest/tutorials/3d/using_multi_mesh_instance.html</link>
  13. <link title="Optimization using MultiMeshes">https://docs.godotengine.org/en/latest/tutorials/performance/using_multimesh.html</link>
  14. </tutorials>
  15. <members>
  16. <member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh">
  17. The [MultiMesh] resource that will be used and shared among all instances of the [MultiMeshInstance3D].
  18. </member>
  19. </members>
  20. </class>