indigoextras.datatypes

Type members

Classlikes

final case
class DecreaseTo(value: Double, unitsPerSecond: Double, limit: Double) extends TimeVaryingValue

A value that decreases over time until it hits a limit.

A value that decreases over time until it hits a limit.

Value Params
limit

The lower limit

unitsPerSecond

The rate of change

value

The current value

final case
class DecreaseWrapAt(value: Double, unitsPerSecond: Double, limit: Double) extends TimeVaryingValue

A value that decreases over time and wraps back to zero when it hits the limit

A value that decreases over time and wraps back to zero when it hits the limit

Value Params
limit

The lower limit

unitsPerSecond

The rate of change

value

The current/starting value

Companion
object
Companion
class
final case
class Decreasing(value: Double, unitsPerSecond: Double) extends TimeVaryingValue

A value that decreases over time.

A value that decreases over time.

Value Params
unitsPerSecond

The rate of change

value

The current value

final case
class IncreaseTo(value: Double, unitsPerSecond: Double, limit: Double) extends TimeVaryingValue

A value that increases over time until it hits a limit.

A value that increases over time until it hits a limit.

Value Params
limit

The upper limit

unitsPerSecond

The rate of change

value

The current value

final case
class IncreaseWrapAt(value: Double, unitsPerSecond: Double, limit: Double) extends TimeVaryingValue

A value that increases over time and wraps back to zero when it hits the limit

A value that increases over time and wraps back to zero when it hits the limit

Value Params
limit

The upper limit

unitsPerSecond

The rate of change

value

The current/starting value

Companion
object
Companion
class
final case
class Increasing(value: Double, unitsPerSecond: Double) extends TimeVaryingValue

A value that increases over time.

A value that increases over time.

Value Params
unitsPerSecond

The rate of change

value

The current value

sealed

Represents one of the type of values that changes over time.

Represents one of the type of values that changes over time.

final
class UpdateList[A](list: List[A], pattern: UpdatePattern)
Companion
object
object UpdateList
Companion
class
sealed
Companion
object
Companion
class