0.2.0-dev Download ZIP
20 lines ·1.2 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="MultiMeshInstance3D" inherits="GeometryInstance3D" api_type="core" keywords="batch" 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 | [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 number of instances of a given mesh (for example trees in a forest or grass strands). |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="Using MultiMeshInstance">$DOCS_URL/tutorials/3d/using_multi_mesh_instance.html</link> |
| 12 | <link title="Optimization using MultiMeshes">$DOCS_URL/tutorials/performance/using_multimesh.html</link> |
| 13 | <link title="Animating thousands of fish with MultiMeshInstance">$DOCS_URL/tutorials/performance/vertex_animation/animating_thousands_of_fish.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> |