Bitbybit Docs
    Preparing search index...

    Class LerpDto (Inputs.Math)

    A start, an end and a fraction for math.lerp, which blends between them.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalstart: number
      • Optionalend: number
      • Optionalt: number

      Returns LerpDto

    Properties

    start: number

    The value at fraction 0.

    0
    

    -Infinity

    Infinity

    0.1

    end: number

    The value at fraction 1.

    1
    

    -Infinity

    Infinity

    0.1

    t: number

    How far from start to end, from 0 to 1; values outside that range extrapolate.

    0.5
    

    -Infinity

    Infinity

    0.01