/** * Holds information about batched mesh instances. Created in {@link BatchManager#create}. * * @category Graphics */ export class Batch { /** * Create a new Batch instance. * * @param {import('../mesh-instance.js').MeshInstance[]} meshInstances - The mesh instances to * be batched. * @param {boolean} dynamic - Whether this batch is dynamic (supports transforming mesh * instances at runtime). * @param {number} batchGroupId - Link this batch to a specific batch group. This is done * automatically with default batches. */ constructor(meshInstances: import("../mesh-instance.js").MeshInstance[], dynamic: boolean, batchGroupId: number); /** @private */ private _aabb; /** * An array of original mesh instances, from which this batch was generated. * * @type {import('../mesh-instance.js').MeshInstance[]} */ origMeshInstances: import("../mesh-instance.js").MeshInstance[]; /** * A single combined mesh instance, the result of batching. * * @type {import('../mesh-instance.js').MeshInstance} */ meshInstance: import("../mesh-instance.js").MeshInstance; /** * Whether this batch is dynamic (supports transforming mesh instances at runtime). * * @type {boolean} */ dynamic: boolean; /** * Link this batch to a specific batch group. This is done automatically with default batches. * * @type {number} */ batchGroupId: number; destroy(scene: any, layers: any): void; addToLayers(scene: any, layers: any): void; removeFromLayers(scene: any, layers: any): void; updateBoundingBox(): void; }