Bitbybit Docs
    Preparing search index...

    Class MoveTowardsDto (Inputs.Math)

    math.moveTowards के लिए एक वर्तमान मान, एक लक्ष्य और एक स्टेप सीमा।

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcurrent: number
      • Optionaltarget: number
      • OptionalmaxDelta: number

      Returns MoveTowardsDto

    Properties

    current: number

    खिसकाया जाने वाला मान।

    0
    

    -Infinity

    Infinity

    0.1

    target: number

    वह मान जिसकी ओर खिसकना है; उससे कभी आगे नहीं जाया जाता।

    1
    

    -Infinity

    Infinity

    0.1

    maxDelta: number

    एक स्टेप में अनुमत सबसे बड़ा परिवर्तन।

    0.1
    

    -Infinity

    Infinity

    0.01