InstancedMesh2Params
Parameters for configuring an InstancedMesh2
instance.
Properties
allowsEuler?
optional
allowsEuler:boolean
Determines whether InstancedEntity
can use the rotation
property.
If true
quaternion
and rotation
will be synchronized, affecting performance.
Default
Defined in
capacity?
optional
capacity:number
Determines the maximum number of instances that buffers can hold. The buffers will be expanded automatically if necessary.
Default
Defined in
createInstances?
optional
createInstances:boolean
Determines whether to create an array of InstancedEntity
to easily manipulate instances at the cost of more memory.
Default
Defined in
renderer?
optional
renderer:WebGLRenderer
WebGL renderer instance. If not provided, buffers will be initialized during the first render, resulting in no instances being rendered initially.