PointLight

indigo.shared.scenegraph.PointLight
See thePointLight companion object
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.

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 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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product