SilverLining
|
Extend this class in order to receive notifications of lightning strike events from cumulonimbus cloud layers. More...
#include <LightningListener.h>
Public Member Functions | |
virtual | ~LightningListener () |
Virtual destructor. | |
virtual void SILVERLINING_API | LightningStartedEvent (double lightningPosX, double lightningPosY, double lightningPosZ)=0 |
This pure virtual method will be called any time a lightning strike begins within a CloudLayer. | |
Extend this class in order to receive notifications of lightning strike events from cumulonimbus cloud layers.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
This pure virtual method will be called any time a lightning strike begins within a CloudLayer.
You must pass your LightningListener object's pointer into CloudLayer::AddLightningListener() in order to receive lightning events from a given CloudLayer. Presently, only CumulonimbusCloudLayer objects will fire these events. The position returned is the location of the lightning strike's origin, in world units.