DefaultTransformSmoothingLogic.SmoothRotation Method

Definition

Smooths from source to goal, provided slerptime and a deltaTime.

public:
 virtual UnityEngine::Quaternion SmoothRotation(UnityEngine::Quaternion source, UnityEngine::Quaternion goal, float slerpTime, float deltaTime);
public UnityEngine.Quaternion SmoothRotation (UnityEngine.Quaternion source, UnityEngine.Quaternion goal, float slerpTime, float deltaTime);
abstract member SmoothRotation : UnityEngine.Quaternion * UnityEngine.Quaternion * single * single -> UnityEngine.Quaternion
override this.SmoothRotation : UnityEngine.Quaternion * UnityEngine.Quaternion * single * single -> UnityEngine.Quaternion
Public Function SmoothRotation (source As Quaternion, goal As Quaternion, slerpTime As Single, deltaTime As Single) As Quaternion

Parameters

source
UnityEngine.Quaternion
goal
UnityEngine.Quaternion
slerpTime
Single
deltaTime
Single

Returns

UnityEngine.Quaternion

Implements

Applies to