Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tutorials/performance/using_multimesh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ efficient for millions of objects, but for a few thousands, GDScript should be f
multimesh = MultiMesh.new()
# Set the format first.
multimesh.transform_format = MultiMesh.TRANSFORM_3D
# Set the mesh that will be duplicated.
multimesh.mesh = BoxMesh.new()
# Then resize (otherwise, changing the format is not allowed).
multimesh.instance_count = 10000
# Maybe not all of them should be visible at first.
Expand Down
Loading