UnityVectorExtensions Methods
From Cinemachine
Cinemachine
![]() | UnityVectorExtensions Methods |
The UnityVectorExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AlmostZero | Is the vector within Epsilon of zero length? | |
| ClosestPointOnSegment(Vector2, Vector2, Vector2) |
Get the closest point on a line segment.
| |
| ClosestPointOnSegment(Vector3, Vector3, Vector3) |
Get the closest point on a line segment.
| |
| ProjectOntoPlane |
Returns a non-normalized projection of the supplied vector onto a plane
as described by its normal
| |
| SignedAngle | Get a signed angle between two vectors | |
| SlerpWithReferenceUp | 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 |
