InstancedMesh Class

Extends InstancedMesh
Module: Meshes

A instanced mesh is a mesh that can be drawn multiple times at once, it can be used to optimize the draw of large amount of the same geometry material combination.

The usage of InstancedMesh will help you to reduce the number of draw calls and thus improve the overall rendering performance in your application.

Item Index

Attributes

Attributes

url

String

The number of instances. The count value represents the maximum number of instances of this mesh.

You can change the number of instances at runtime to an integer value in the range [0, count].