/** * Options of the `render` component accepted by {@link RenderComponentSystem} that differ from the * properties of {@link RenderComponent}. Each replaces the same-named property of the options that * {@link Entity#addComponent} derives from the component class; see * {@link ComponentOptionsOverrides}. */ export type RenderComponentOptionsOverrides = { /** * - Center `[x, y, z]` of a custom bounding box; with * `aabbHalfExtents`, sets {@link RenderComponent#customAabb}. */ aabbCenter?: number[]; /** * - Half-extents `[x, y, z]` of a custom bounding box; with * `aabbCenter`, sets {@link RenderComponent#customAabb}. */ aabbHalfExtents?: number[]; /** * - Same as {@link RenderComponent#batchGroupId}. `null` * selects no batch group. */ batchGroupId?: number | null; }; /** * Allows an Entity to render a mesh or a primitive shape like a box, capsule, sphere, cylinder, * cone etc. * * @category Graphics */ export class RenderComponentSystem extends ComponentSystem { id: string; ComponentType: typeof RenderComponent; defaultMaterial: import("../../../index.js").StandardMaterial; initializeComponentData(component: any, _data: any, properties: any): void; cloneComponent(entity: any, clone: any): import("../component.js").Component; onBeforeRemove(entity: any, component: any): void; } import { ComponentSystem } from '../system.js'; import { RenderComponent } from './component.js';