SmoothDampQuaternion.Update
Method in SmoothDampQuaternion
Declaration
public override Quaternion Update(Quaternion target)
Description
Smoothes the current value to the target value.
Parameters
target | The target value. |
Returns
Quaternion | The 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
target | The target value. |
deltaTime | The time since the last call to this function. |
Returns
Quaternion | The new current value. |