Method SlerpWithReferenceUp
SlerpWithReferenceUp(Quaternion, Quaternion, float, Vector3)
This is a slerp that mimics a camera operator's movement in that it chooses a path that avoids the lower hemisphere, as defined by the up param
선언
public static Quaternion SlerpWithReferenceUp(Quaternion qA, Quaternion qB, float t, Vector3 up)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Quaternion | qA | First direction |
Quaternion | qB | Second direction |
float | t | Interpolation amoun t |
Vector3 | up | Defines the up direction. Must have a length of 1. |
반환
타입 | 설명 |
---|---|
Quaternion |