Atlas Engine
API Referencehydra

Clouds

Volumetric cloud noise and rendering controls, including density, lighting steps, and wind.

Module: hydra

Volumetric cloud noise and rendering controls, including density, lighting steps, and wind.

Declaration

export class Clouds { ... }

Constructors

Creates a new clouds.

constructor(frequency: number, numDivisions: number);

Properties

position

The position in world space.

position: Position3d;

size

The dimensions.

size: Size3d;

scale

The scale along each axis.

scale: number;

offset

The offset.

offset: Position3d;

density

The density.

density: number;

densityMultiplier

The density multiplier.

densityMultiplier: number;

absorption

The absorption.

absorption: number;

scattering

The scattering.

scattering: number;

phase

The phase.

phase: number;

clusterStrength

The cluster strength.

clusterStrength: number;

primaryStepCount

The primary step count.

primaryStepCount: number;

lightStepCount

The light step count.

lightStepCount: number;

lightStepMultiplier

The light step multiplier.

lightStepMultiplier: number;

minStepLength

The minimum step length.

minStepLength: number;

wind

The wind direction and strength.

wind: Force3d;

Methods

getCloudTexture

Returns cloud texture.

getCloudTexture(size: number): number;

On this page