import { Vec3 } from 'playcanvas'; import { AsyncElement } from './async-element'; /** * The SkyElement interface provides properties and methods for manipulating * `` elements. The SkyElement interface also inherits the properties and * methods of the {@link HTMLElement} interface. */ declare class SkyElement extends AsyncElement { private _asset; private _center; private _intensity; private _rotation; private _level; private _lighting; private _scale; private _type; private _scene; connectedCallback(): void; disconnectedCallback(): void; private _generateSkybox; private _loadSkybox; private _unloadSkybox; /** * Sets the id of the `pc-asset` to use for the skybox. * @param value - The asset ID. */ set asset(value: string); /** * Gets the id of the `pc-asset` to use for the skybox. * @returns The asset ID. */ get asset(): string; /** * Sets the center of the skybox. * @param value - The center. */ set center(value: Vec3); /** * Gets the center of the skybox. * @returns The center. */ get center(): Vec3; /** * Sets the intensity of the skybox. * @param value - The intensity. */ set intensity(value: number); /** * Gets the intensity of the skybox. * @returns The intensity. */ get intensity(): number; /** * Sets the mip level of the skybox. * @param value - The mip level. */ set level(value: number); /** * Gets the mip level of the skybox. * @returns The mip level. */ get level(): number; /** * Sets whether the skybox is used as a light source. * @param value - Whether to use lighting. */ set lighting(value: boolean); /** * Gets whether the skybox is used as a light source. * @returns Whether to use lighting. */ get lighting(): boolean; /** * Sets the Euler rotation of the skybox. * @param value - The rotation. */ set rotation(value: Vec3); /** * Gets the Euler rotation of the skybox. * @returns The rotation. */ get rotation(): Vec3; /** * Sets the scale of the skybox. * @param value - The scale. */ set scale(value: Vec3); /** * Gets the scale of the skybox. * @returns The scale. */ get scale(): Vec3; /** * Sets the type of the skybox. * @param value - The type. */ set type(value: 'box' | 'dome' | 'infinite' | 'none'); /** * Gets the type of the skybox. * @returns The type. */ get type(): "box" | "dome" | "infinite" | "none"; static get observedAttributes(): string[]; attributeChangedCallback(name: string, _oldValue: string, newValue: string): void; } export { SkyElement };