DirectionLight

final case class DirectionLight(color: RGBA, specular: RGBA, rotation: Radians) extends Light

Direction lights apply light to a scene evenly from a particular direction, as if from a point a very long way away, e.g. the sun.

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

Value members

Concrete methods

def rotateTo(newRotation: Radians): DirectionLight
def withColor(newColor: RGBA): DirectionLight

Inherited methods

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