import { Entity, Script, Texture } from 'playcanvas'; /** * Renders the scene and the live camera feed into a cubemap, then assigns it to * every material tagged `reflective`, giving tracked content approximate * environment reflections of the user's surroundings. * * Attach to an entity with a `camera` component; that camera is used only as a * source of render settings and gets disabled for direct rendering. */ export declare class ZapparCubemapRenderer extends Script { static scriptName: string; /** * The Zappar camera entity. Leave blank to use the scene's Zappar camera. * @attribute * @type {import('playcanvas').Entity} */ camera: Entity | null; /** * Resolution of one cubemap face. Use a power of two for mipmaps. * @attribute * @range [1] */ resolution: number; /** * Allocate and auto-generate mipmaps. * @attribute */ mipmaps: boolean; /** * Allocate a depth buffer. * @attribute */ depth: boolean; /** The rendered environment cubemap. */ cubeMap?: Texture; private readonly renderTargets; private readonly faceCameras; initialize(): void; private onDestroy; }