docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Damper

    Utility to perform realistic damping of float or Vector3 values. The algorithm is based on exponentially decaying the delta until only a negligible amount remains.

    Inheritance
    object
    Damper
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public static class Damper

    Fields

    Name Description
    kNegligibleResidual

    Standard residual

    Methods

    Name Description
    Damp(float, float, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time.

    Damp(Vector3, float, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time.

    Damp(Vector3, Vector3, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time.

    In This Article
    Back to top
    Copyright © 2023 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)