CinemachinePathBase.PathLength Property

Cinemachine

CinemachinePathBasePathLength Property

Get the length of the path in distance units. If the distance cache is not valid, then calling this will trigger a potentially costly regeneration of the path distance cache

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public float PathLength { get; }
function get_PathLength();

Return Value

Type: Single
The length of the path in distance units, when sampled at this rate
See Also