Cinemachine
![]() | UnityVectorExtensionsSlerpWithReferenceUp Method |
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
Namespace: Cinemachine.Utility
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

public static Vector3 SlerpWithReferenceUp( Vector3 vA, Vector3 vB, float t, Vector3 up )
Cinemachine.Utility.UnityVectorExtensions.SlerpWithReferenceUp = function(vA, vB, t, up);
Parameters
- vA
- Type: Vector3
First direction - vB
- Type: Vector3
Second direction - t
- Type: SystemSingle
Interpolation amoun t - up
- Type: Vector3
Defines the up direction
Return Value
Type: Vector3[Missing <returns> documentation for "M:Cinemachine.Utility.UnityVectorExtensions.SlerpWithReferenceUp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single,UnityEngine.Vector3)"]
