CinemachinePath Methods
From Cinemachine
Cinemachine
![]() | CinemachinePath Methods |
The CinemachinePath type exposes the following members.
| Name | Description | |
|---|---|---|
| DistanceCacheIsValid | See whether the distance cache is valid. If it's not valid,
then any call to GetPathLength() or GetPathPositionFromDistance() will
trigger a potentially costly regeneration of the path distance cache (Inherited from CinemachinePathBase.) | |
| EvaluateOrientation | Get the orientation the curve at a point along the path. (Overrides CinemachinePathBaseEvaluateOrientation(Single).) | |
| EvaluateOrientationAtUnit | Get the orientation the curve at a point along the path. (Inherited from CinemachinePathBase.) | |
| EvaluatePosition | Get a worldspace position of a point along the path (Overrides CinemachinePathBaseEvaluatePosition(Single).) | |
| EvaluatePositionAtUnit | Get a worldspace position of a point along the path (Inherited from CinemachinePathBase.) | |
| EvaluateTangent | Get the tangent of the curve at a point along the path. (Overrides CinemachinePathBaseEvaluateTangent(Single).) | |
| EvaluateTangentAtUnit | Get the tangent of the curve at a point along the path. (Inherited from CinemachinePathBase.) | |
| FindClosestPoint | Find the closest point on the path to a given worldspace target point. (Inherited from CinemachinePathBase.) | |
| GetPathDistanceFromPosition | Get the path position (in path units) corresponding to this distance along the path.
If the distance cache is not valid, then calling this will
trigger a potentially costly regeneration of the path distance cache (Inherited from CinemachinePathBase.) | |
| GetPathPositionFromDistance | Get the path position (in path units) corresponding to this distance along the path.
If the distance cache is not valid, then calling this will
trigger a potentially costly regeneration of the path distance cache (Inherited from CinemachinePathBase.) | |
| InvalidateDistanceCache | Call this if the path changes in such a way as to affect distances
or other cached path elements (Inherited from CinemachinePathBase.) | |
| MaxUnit | Get the maximum value, for the given unity type (Inherited from CinemachinePathBase.) | |
| MinUnit | Get the minimum value, for the given unity type (Inherited from CinemachinePathBase.) | |
| NormalizePathDistance | Normalize a distance along the path based on the path length.
If the distance cache is not valid, then calling this will
trigger a potentially costly regeneration of the path distance cache (Inherited from CinemachinePathBase.) | |
| NormalizePos | Get a normalized path position, taking spins into account if looped (Inherited from CinemachinePathBase.) | |
| NormalizeUnit | Normalize the unit, so that it lies between MinUmit and MaxUnit (Inherited from CinemachinePathBase.) |
