threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
27 lines • 1.04 kB
TypeScript
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;
shadowCamera: OrthographicCamera;
private _depthPass?;
private _blurHelper?;
constructor();
onAdded(viewer: ThreeViewer): void;
onRemove(viewer: ThreeViewer): void;
protected _postFrame(): void;
protected _preRender(): void;
protected _refreshTransform(): void;
private _refreshShadowCameraFrustum;
private _setDirty;
protected _removeMaterial(): void;
refresh(): void;
protected _createMaterial(material?: PhysicalMaterial): PhysicalMaterial;
protected _refreshMaterial(): false | void;
}
//# sourceMappingURL=ContactShadowGroundPlugin.d.ts.map