MultiMeshInstance.xml 1.1 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="MultiMeshInstance" inherits="GeometryInstance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Node that instances a [MultiMesh].
  5. </brief_description>
  6. <description>
  7. [MultiMeshInstance] 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 trees in a forest or grass strands).
  9. </description>
  10. <tutorials>
  11. <link>$DOCS_URL/tutorials/performance/vertex_animation/animating_thousands_of_fish.html</link>
  12. <link>$DOCS_URL/tutorials/3d/using_multi_mesh_instance.html</link>
  13. <link>$DOCS_URL/tutorials/performance/using_multimesh.html</link>
  14. </tutorials>
  15. <methods>
  16. </methods>
  17. <members>
  18. <member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh">
  19. The [MultiMesh] resource that will be used and shared among all instances of the [MultiMeshInstance].
  20. </member>
  21. </members>
  22. <constants>
  23. </constants>
  24. </class>