LightEmitter struct
#include <Jazz2/LightEmitter.h>
Allows objects to emit light.
Per-object light description (position, intensity, brightness and near/far radii) collected each frame and fed to the lighting renderer to illuminate the scene. A light with a non-zero RingRadius is a ring instead of a point: its near/far radii are then measured from the ring's circle, so they describe the falloff across the ring's band on both sides of it.
Public variables
- Vector2f Pos
- Light position (the centre of the ring for a ring light).
- float Intensity
- Light intensity.
- float Brightness
- Light brightness.
- float RadiusNear
- Light near radius.
- float RadiusFar
- Light far radius.
- float RingRadius
- Radius of the ring the light is spread along,
0.0ffor a point light.