CinemachinePathBase.NormalizePos Method

Cinemachine

CinemachinePathBaseNormalizePos Method

Get a normalized path position, taking spins into account if looped

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public virtual float NormalizePos(
	float pos
)
function NormalizePos(pos);

Parameters

pos
Type: SystemSingle
Position along the path

Return Value

Type: Single
Normalized position, between MinPos and MaxPos
See Also