docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate AnticipatedNetworkVariable<T>.SmoothDelegate

    A function to interpolate between two values based on a percentage. See Lerp(float, float, float), Lerp(Vector3, Vector3, float), Slerp(Vector3, Vector3, float), and so on for examples.

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate T AnticipatedNetworkVariable<T>.SmoothDelegate(T authoritativeValue, T anticipatedValue, float amount)
    Parameters
    Type Name Description
    T authoritativeValue
    T anticipatedValue
    float amount
    Returns
    Type Description
    T
    In This Article
    Back to top
    Copyright © 2024 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)