UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

29 lines 1.17 kB
import { OrthographicCamera } from 'three'; import { BaseGroundPlugin } from '../base/BaseGroundPlugin'; import { ThreeViewer } from '../../viewer'; import { PhysicalMaterial } from '../../core'; export declare class ContactShadowGroundPlugin extends BaseGroundPlugin { static readonly PluginType = "ContactShadowGroundPlugin"; contactShadows: boolean; shadowScale: number; shadowHeight: number; blurAmount: number; mapMode: 'aoMap' | 'map' | 'alphaMap'; shadowCamera: OrthographicCamera<import('three').Object3DEventMap>; private _depthPass?; private _blurHelper?; constructor(); onAdded(viewer: ThreeViewer): void; onRemove(viewer: ThreeViewer): void; protected _postFrame(): void; protected _preRender(): void; protected _refreshTransform(): boolean; private _refreshShadowCameraFrustum; private _setDirty; protected _removeMaterial(): void; private _depthTex; refresh(): void; protected _createMaterial(material?: PhysicalMaterial): PhysicalMaterial; protected _refreshMaterial(): false | void; } //# sourceMappingURL=../../src/plugins/extras/ContactShadowGroundPlugin.d.ts.map