Atlas Engine
API Referencehydra

WeatherState

Weather condition, intensity, and wind returned by a weather delegate.

Module: hydra

Weather condition, intensity, and wind returned by a weather delegate.

Declaration

export type WeatherState = {
        /**
         * The current weather condition.
         */
        condition: WeatherCondition;
        /**
         * The effect intensity.
         */
        intensity: number;
        /**
         * The wind direction and strength.
         */
        wind: Force3d;
    };

Properties

condition

The current weather condition.

condition: WeatherCondition;

intensity

The effect intensity.

intensity: number;

wind

The wind direction and strength.

wind: Force3d;

On this page