Cloud Keyframe

struct PrecipitationRegion

A structure defining an area where there is rain or snow. If regional is false, it is everywhere.

Public Members

bool regional

If true, rain/snow only occurs within the specified region. If false, it occurs everywhere in the cloud keyframe.

bool lockToClouds

If true, the movement of the region takes into account the wind’s speed and heading.

platform::crossplatform::Quaterniond relative_centre

Origin on the globe for this Precipitation Region relative to keyframe origin.

float radiusKm

The radius of the region.

float virgaStrength

The visual strength of the virga effect when rendered.

float edge

The edge between zero and one. Small numbers give a sharp edge to the region.

float base_radial_km

The base altitude of this Precipitation Region from the centre of the planet.