DefaultTransformSmoothingLogic.SmoothRotation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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