PointLight

final case
class PointLight(position: Point, color: RGBA, specular: RGBA, intensity: Double, falloff: Falloff) extends Light

Point lights emit light evenly in all directions from a point in space.

Companion
object
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any

Value members

Concrete methods

def moveBy(amount: Point): PointLight
def moveBy(x: Int, y: Int): PointLight
def moveTo(newPosition: Point): PointLight
def moveTo(x: Int, y: Int): PointLight
def withColor(newColor: RGBA): PointLight
def withFalloff(newFalloff: Falloff): PointLight
def withIntensity(newIntensity: Double): PointLight
def withSpecular(newColor: RGBA): PointLight

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product