Quadratic

indigo.shared.scenegraph.Falloff.Quadratic
See theQuadratic companion object
final case class Quadratic(near: Int, far: Option[Int]) extends Falloff

Light decays quadratically (inverse-square) forever. If a "far" distance is specified then the light will be artificially attenuated to zero by the time it reaches the limit.

Attributes

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

Members list

Value members

Concrete methods

def withFar(newFar: Int): Quadratic
def withNear(newNear: Int): Quadratic
def withRange(newNear: Int, newFar: Int): Quadratic

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product