Linear

indigo.shared.scenegraph.Falloff.Linear
See theLinear companion object
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.

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): Linear
def withNear(newNear: Int): Linear
def withRange(newNear: Int, newFar: Int): Linear

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product