Bitbybit Docs
    Preparing search index...

    Class EaseDto (Inputs.Math)

    A value between 0 and 1, a target range and an easing curve for math.ease.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalx: number

      Returns EaseDto

    Properties

    x: number

    The position along the curve, from 0 at min to 1 at max.

    0.5
    

    0

    1

    0.1

    min: number

    The value at the start of the curve.

    0
    

    -Infinity

    Infinity

    0.1

    max: number

    The value at the end of the curve.

    1
    

    -Infinity

    Infinity

    0.1

    ease: easeEnum

    The easing curve: easeIn starts slowly, easeOut ends slowly, easeInOut does both, in sine, quadratic, cubic and other strengths.

    easeInSine