IncreaseWrapAt

indigoextras.datatypes.IncreaseWrapAt
See theIncreaseWrapAt companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(unitsPerSecond: Double, limit: Double): IncreaseWrapAt

Constructor for a value that increases over time and wraps back to zero when it hits the limit. This constructor assumes the start value is zero.

Constructor for a value that increases over time and wraps back to zero when it hits the limit. This constructor assumes the start value is zero.

Value parameters

limit

The upper limit

unitsPerSecond

The rate of change

Attributes

Returns

IncreaseWrapAt