Bitbybit Docs
    Preparing search index...

    Class FractionTwoVectorsDto (Inputs.Vector)

    Two vectors and a fraction for vector.lerp, which blends them: 1 gives the first, 0 the second.

    Index

    Constructors

    Properties

    Constructors

    Properties

    fraction: number

    The share of first in the blend: 1 gives first, 0 gives second, 0.5 the midpoint. Values outside 0 to 1 extrapolate past the ends.

    0.5
    

    -Infinity

    Infinity

    0.1

    first: Vector3

    The vector the blend reaches at fraction 1.

    undefined
    
    second: Vector3

    The vector the blend reaches at fraction 0.

    undefined