SmoothDampedclass

Everything you need to smooth damp a Vector3. Just call Update every frame.

object→SmoothDamped
Namespace
global
Assembly
Sandbox.System
Declaration
public sealed struct Vector3.SmoothDamped

Constructors1

Showing 1 constructors

public SmoothDamped(Vector3 Current, Vector3 Target, float SmoothTime)PUBLICCONSTRUCTOR

Everything you need to smooth damp a Vector3. Just call Update every frame.

ParameterTypeDescription
CurrentVector3—
TargetVector3—
SmoothTimefloat—

Methods2

Showing 2 methods

public void Deconstruct(Vector3 Current, Vector3 Target, float SmoothTime)PUBLIC

ParameterTypeDescription
CurrentVector3—
TargetVector3—
SmoothTimefloat—
Returns:void—

public void Update(float timeDelta)PUBLICPER-FRAME

ParameterTypeDescription
timeDeltafloat—
Returns:void—

Properties3

Showing 3 properties

On this page