Light
io.github.srs.model.StaticEntity.Light
final case class Light(pos: Point2D, orient: Orientation, radius: 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
- intensity
-
intensity of the light
- orient
-
orientation of the light
- pos
-
center position of the light
- radius
-
radius of the light's influence
Attributes
Members list
In this article