Light
io.github.srs.model.entity.staticentity.StaticEntity.Light
final case class Light(id: UUID = ..., pos: Point2D = ..., orient: Orientation = ..., radius: Double = ..., illuminationRadius: Double = ..., intensity: Double = ..., attenuation: Double = ...) extends StaticEntity
The Light represents a light source in the simulation environment.
Value parameters
- attenuation
-
attenuation factor of the light
- illuminationRadius
-
radius of the light's illumination area
- intensity
-
intensity of the light
- orient
-
orientation of the light
- pos
-
center position of the light
- radius
-
radius of the light's bulb
Attributes
Members list
In this article