![]() |
Rise
The Vieneo Province
|
#include <LightningChain.h>
Public Member Functions | |
| double | Duration () const |
| double | SegmentStart (int index) const |
| void | Activate (int index) |
| void | Start (uint32_t packetSeed, const Path &geometry) |
| void | Update (double elapsed) |
| Public Member Functions inherited from LightningStrike::Animation | |
| double | Duration () const |
| void | Start (uint32_t strikeSeed, double durationSeconds=0) |
| void | Update (double elapsed) |
Public Attributes | |
| Path | path {} |
| Vector3 | groundpos {} |
| Vector3 | cloudpos {} |
| double | sequenceAge =0 |
| double | boltDuration =0 |
| int | activeSegment =0 |
| Public Attributes inherited from LightningStrike::Animation | |
| bool | inuse =false |
| uint32_t | seed =0 |
| double | age =0 |
| int | strokeCount =Timing::MinStrokes |
| float | flashBrightness =0 |
| float | growth =0 |
| double | growthSeconds =Timing::Leader.minimumSeconds |
| double | tailSeconds =Timing::Tail.minimumSeconds |
| std::array< Stroke, Timing::MaxStrokes > | strokes {} |
Definition at line 33 of file LightningChain.h.
Definition at line 41 of file LightningChain.h.
|
inline |
|
inline |
Definition at line 48 of file LightningChain.h.
|
inline |
Definition at line 57 of file LightningChain.h.
| int LightningChain::Animation::activeSegment =0 |
Definition at line 38 of file LightningChain.h.
| double LightningChain::Animation::boltDuration =0 |
Definition at line 37 of file LightningChain.h.
| Vector3 LightningChain::Animation::cloudpos {} |
Definition at line 36 of file LightningChain.h.
| Vector3 LightningChain::Animation::groundpos {} |
Definition at line 36 of file LightningChain.h.
| Path LightningChain::Animation::path {} |
Definition at line 35 of file LightningChain.h.
| double LightningChain::Animation::sequenceAge =0 |
Definition at line 37 of file LightningChain.h.