MultiMeshInstance.xml 1.0 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="MultiMeshInstance" inherits="GeometryInstance" category="Core" version="3.1.2">
  3. <brief_description>
  4. Node that instances a [MultiMesh].
  5. </brief_description>
  6. <description>
  7. [code]MultiMeshInstance[/code] is a specialized node to instance [GeometryInstance]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 tree in a forest or grass strands).
  9. </description>
  10. <tutorials>
  11. <link>http://docs.godotengine.org/en/3.1/tutorials/3d/vertex_animation/animating_thousands_of_fish.html</link>
  12. <link>http://docs.godotengine.org/en/3.1/tutorials/3d/using_multi_mesh_instance.html</link>
  13. </tutorials>
  14. <methods>
  15. </methods>
  16. <members>
  17. <member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh">
  18. The [MultiMesh] resource that will be used and shared among all instances of the [code]MultiMeshInstance[/code].
  19. </member>
  20. </members>
  21. <constants>
  22. </constants>
  23. </class>