docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CinemachineSplineRoll.LerpRollDataWithEasing

    Interpolator for the RollData, with easing between data points

    Implements
    IInterpolator<CinemachineSplineRoll.RollData>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cinemachine
    Assembly: Unity.Cinemachine.dll
    Syntax
    public struct CinemachineSplineRoll.LerpRollDataWithEasing : IInterpolator<CinemachineSplineRoll.RollData>

    Methods

    Interpolate(RollData, RollData, float)

    Calculate a value between from and to at time interval.

    Declaration
    public CinemachineSplineRoll.RollData Interpolate(CinemachineSplineRoll.RollData a, CinemachineSplineRoll.RollData b, float t)
    Parameters
    Type Name Description
    CinemachineSplineRoll.RollData a
    CinemachineSplineRoll.RollData b
    float t

    A percentage between 'from' and 'to'. Must be between 0 and 1.

    Returns
    Type Description
    CinemachineSplineRoll.RollData

    A value between 'from' and 'to'.

    Implements

    UnityEngine.Splines.IInterpolator<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)