UNPKG

@takram/three-atmosphere

Version:
11 lines (10 loc) 512 B
import { DirectionalLight } from 'three'; export type AtmosphereLightBody = 'sun' | 'moon'; export declare class AtmosphereLight extends DirectionalLight { readonly type = "AtmosphereLight"; distance: number; body: AtmosphereLightBody; direct: import('three/webgpu').UniformNode<false> | import('three/webgpu').UniformNode<true>; indirect: import('three/webgpu').UniformNode<false> | import('three/webgpu').UniformNode<true>; constructor(distance?: number, body?: AtmosphereLightBody); }