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.
Inherited Members
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. |