SmoothDampQuaternion.Update


Declaration

public override Quaternion Update(Quaternion target)

Description

Smoothes the current value to the target value.

Parameters

targetThe target value.

Returns

QuaternionThe new current value.

Overload

Declaration

public override Quaternion Update(Quaternion target, float deltaTime)

Description

Smoothes the current value to the target value with the given delta time.

Parameters

targetThe target value.
deltaTimeThe time since the last call to this function.

Returns

QuaternionThe new current value.