import * as THREE from 'three'; import { ContextManager } from '@zcomponent/core'; import { Object3D } from './Object3D'; interface ImageConstructorProps { /** * The image to display * * @zprop * @zvalues files *.+(jpg|jpeg|png|webp) */ source: string; /** * Support images with transparency * * @zprop * @zdefault true */ transparent: boolean; } /** * Displays the image referenced by the `source` property in 3D space. * * Root element: [THREE.Object3D](https://threejs.org/docs/index.html#api/en/core/Object3D) * @zcomponent * @zicon texture * @ztag three/Object3D/Image * @zparents three/Object3D/Group/** */ export declare class Image extends Object3D { protected constructorProps: ImageConstructorProps; element: THREE.Group; /** * The three.js Texture object associated with this image. Note that this object may be reused by * multiple components if they share the same source image. */ texture: THREE.Texture; /** * The plane geometry used to render this image */ geometry: THREE.PlaneGeometry; /** * The material used to render this image. This material has `toneMapped` set to `false` in order that * the image's appearance is accurate to the source file. */ material: THREE.MeshBasicMaterial; /** * The three.js Mesh object used to render this image. The X coordinate of `scale` for this object * is automatically set to ensure the correct aspect ratio for the image is shown. */ mesh: THREE.Mesh; constructor(ctx: ContextManager, constructorProps: ImageConstructorProps); _load(): Promise; dispose(): never; } export {};