Linear

final case
class Linear(near: Int, far: Option[Int]) extends Falloff

Light decays linearly forever. If a "far" distance is specified then the light will be artificially attenuated to zero by the time it reaches the limit.

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

Value members

Concrete methods

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

Inherited methods

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