Search Results for

    Show / Hide Table of Contents

    Method Lerp

    Lerp(Quaternion, Quaternion, Single)

    Performs a linear interpolation between two quaternion.

    Declaration
    public static Quaternion Lerp(Quaternion start, Quaternion end, float amount)
    Parameters
    Type Name Description
    Quaternion start

    Start quaternion.

    Quaternion end

    End quaternion.

    System.Single amount

    Value between 0 and 1 indicating the weight of end.

    Returns
    Type Description
    Quaternion

    The linear interpolation of the two quaternions.

    Remarks

    This method performs the linear interpolation based on the following formula.

    start + (end - start) * amount

    Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX