Include: | Clouds/CloudRenderer.h |
Environment(simul::base::MemoryInterface mem) | |
~Environment() | |
simul::clouds::Environment * | Create(simul::base::MemoryInterface m) |
simul::clouds::CloudKeyframer * | CreateCloudKeyframer(simul::base::MemoryInterface m, bool make2d, simul::sky::uid uid) |
void | CreateSubObjects() |
bool | DeleteCloudKeyframe(simul::sky::uid uid) |
bool | DeleteCloudKeyframer(simul::sky::uid uid) |
void | Destroy(simul::clouds::Environment env) |
simul::clouds::CloudKeyframer * | GetCloudKeyframer(simul::sky::uid uid) |
unsigned int | GetKeyframersChecksum() |
void | Load(simul::sky::Input is) |
void | LoadFromText(simul::crossplatform::TextInput input) |
void | New() |
void | Reset() |
void | Save(simul::sky::Output os) |
void | SaveToText(simul::crossplatform::TextOutput output) |
void | SetRealTime(double rt_sec) |
void | Update() |
simul::sky::SkyKeyframer * | CreateSkyKeyframer(simul::base::MemoryInterface m, int NumElevations, int NumDistances, float MaxFadeDistanceKm) |
Constructor - initialize with an optional memory allocator.
Override this to create a custom derived keyframer. Valid id’s are anything greater than zero.
Call this to create the keyframer sub-objects. If not called before the first Update(), it will be called from there.
Delete the specified cloud keyframe
Delete the specified cloud layer.
Get the cloud keyframer with the specified uid.
A checksum for the keyframer setup.
Load a sequence from the binary .seq format.
Load a sequence from the text .sq format.
Force recalculation of any cached values.
Save a sky sequence as binary (the .seq file format); this is a low-overhead method of storing and retrieving sequences, but is subject to format changes, so sequences should generally be stored as text (see
Save a sky sequence as text (the .sq file format). This is the standard means of storing sequences.
Call this once per frame before Update() if you use real-time updates for clouds, rain, lightning, sky keyframes etc.
Override this to create a custom derived keyframer.
cloudKeyframers Map of 3D Cloud Layers
skyKeyframer The atmosphere/sky keyframer.