Skip to main content

Type Alias: CloudUniforms

CloudUniforms = object

Defined in: modules/lighting/clouds/clouds.ts:8

Properties​

altitude​

altitude: number

Defined in: modules/lighting/clouds/clouds.ts:12

Bottom and thickness of the cloud slab, in metres above the coordinate origin.


cover​

cover: number

Defined in: modules/lighting/clouds/clouds.ts:10

Fractional cloud cover, from clear (0) to overcast (1).


density​

density: number

Defined in: modules/lighting/clouds/clouds.ts:17

Extinction coefficient, in inverse metres.


scale​

scale: number

Defined in: modules/lighting/clouds/clouds.ts:15

Horizontal size of cloud formations, in metres.


sunColor​

sunColor: [number, number, number]

Defined in: modules/lighting/clouds/clouds.ts:25

Linear sunlight tint.


sunDirection​

sunDirection: [number, number, number]

Defined in: modules/lighting/clouds/clouds.ts:23

Direction toward the sun in east/north/up coordinates; nonzero.


thickness​

thickness: number

Defined in: modules/lighting/clouds/clouds.ts:13


time​

time: number

Defined in: modules/lighting/clouds/clouds.ts:19

Elapsed seconds; callers own animation.


velocity​

velocity: [number, number]

Defined in: modules/lighting/clouds/clouds.ts:21

East/north drift velocity in metres per second.