Create a new BatchGroup instance.
Unique id. Can be assigned to model, render and element components.
The name of the group.
Whether objects within this batch group should support transforming at runtime.
Maximum size of any dimension of a bounding box around batched objects. BatchManager#prepare will split objects into local groups based on this size.
Optional
layers: number[] = ...Layer ID array. Default is [LAYERID_WORLD]. The whole batch group will belong to these layers. Layers of source models will be ignored.
Whether objects within this batch group should support transforming at runtime.
Unique id. Can be assigned to model, render and element components.
Layer ID array. Default is [LAYERID_WORLD]. The whole batch group will belong to these layers. Layers of source models will be ignored.
Maximum size of any dimension of a bounding box around batched objects. BatchManager#prepare will split objects into local groups based on this size.
Name of the group.
Holds mesh batching settings and a unique id. Created via BatchManager#addGroup.