DirectionLight

indigo.shared.scenegraph.DirectionLight
See theDirectionLight companion object
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.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product