import { PerspectiveProjection, AssetBase, Transform } from '@awayjs/core'; import { TextureBase } from '@awayjs/renderer'; /** * TextureProjector is an object in the scene that can be used to project textures onto geometry. To do so, * the object's material must have a ProjectiveTextureMethod method added to it with a TextureProjector object * passed in the constructor. * This can be used for various effects apart from acting like a normal projector, such as projecting fake shadows * unto a surface, the impact of light coming through a stained glass window, ... * * @see away3d.materials.methods.ProjectiveTextureMethod */ export declare class TextureProjector extends AssetBase { private _transform; static assetType: string; private _projection; private _texture; get transform(): Transform; set transform(value: Transform); /** * Creates a new TextureProjector object. * @param texture The texture to be projected on the geometry. Since any point that is projected out of the range * of the projector's cone is clamped to the texture's edges, the edges should be entirely neutral. */ constructor(texture: TextureBase, transform?: Transform); /** * */ get projection(): PerspectiveProjection; get assetType(): string; /** * The texture to be projected on the geometry. * IMPORTANT: Since any point that is projected out of the range of the projector's cone is clamped to the texture's edges, * the edges should be entirely neutral. Depending on the blend mode, the neutral color is: * White for MULTIPLY, * Black for ADD, * Transparent for MIX */ get texture(): TextureBase; set texture(value: TextureBase); } //# sourceMappingURL=TextureProjector.d.ts.map