PulsatingRadialLight class
Pulsating radial light.
Invisible light-emitter actor placed in a level that contributes a circular light whose radius oscillates smoothly over time to the dynamic lighting layer. It has no sprite and disables all collisions; the pulsation speed and starting phase are configurable.
Base classes
- class Jazz2::Actors::ActorBase
- Base class of an object.
Public static functions
- static void Preload(const ActorActivationDetails& details)
- Preloads all assets required by this actor.
Constructors, destructors, conversion operators
- PulsatingRadialLight()
- Creates a new instance.
Protected functions
- auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
- Called when the object is created and activated.
- void OnUpdate(float timeMult) override
- Called every frame to update the object state.
- void OnEmitLights(SmallVectorImpl<LightEmitter>& lights) override
- Called when emitting lights.