UnityVectorExtensions Methods

Cinemachine

UnityVectorExtensions Methods

The UnityVectorExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAlmostZero
Is the vector within Epsilon of zero length?
Public methodStatic memberClosestPointOnSegment(Vector2, Vector2, Vector2)
Get the closest point on a line segment.
Public methodStatic memberClosestPointOnSegment(Vector3, Vector3, Vector3)
Get the closest point on a line segment.
Public methodStatic memberProjectOntoPlane
Returns a non-normalized projection of the supplied vector onto a plane as described by its normal
Public methodStatic memberSignedAngle
Get a signed angle between two vectors
Public methodStatic memberSlerpWithReferenceUp
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
Top
See Also