UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

40 lines 1.23 kB
import type { ColorRepresentation } from 'three'; import Ellipsoid from '../core/geographic/Ellipsoid'; import Entity3D from './Entity3D'; import type Context from '../core/Context'; import type PickResult from '../core/picking/PickResult'; /** * Displays a simple glow around an ellipsoid. */ export default class Glow extends Entity3D { readonly isGlow: true; readonly type: "Glow"; private readonly _ellipsoid; private readonly _sphere; private readonly _outerGlow; private readonly _innerGlow; get color(): ColorRepresentation; set color(v: ColorRepresentation); constructor(options: { /** * The color of the glow. */ color?: ColorRepresentation; /** * The ellipsoid to use. * @defaultValue {@link Ellipsoid.WGS84} */ ellipsoid?: Ellipsoid; /** * The thickness of the atmosphere * @defaultValue 300km (earth atmosphere) */ thickness?: number; }); private createGlow; updateOpacity(): void; private updateMinMaxDistance; postUpdate(context: Context, _changeSources: Set<unknown>): void; pick(): PickResult[]; } //# sourceMappingURL=Glow.d.ts.map