Enum CinemachinePathBase.PositionUnits
How to interpret the Path Position
Namespace: Cinemachine
Syntax
public enum PositionUnits
Fields
Name | Description | Value |
---|---|---|
PathUnits | Use PathPosition units, where 0 is first waypoint, 1 is second waypoint, etc |
0 |
Distance | Use Distance Along Path. Path will be sampled according to its Resolution setting, and a distance lookup table will be cached internally |
1 |
Normalized | Normalized units, where 0 is the start of the path, and 1 is the end. Path will be sampled according to its Resolution setting, and a distance lookup table will be cached internally |
2 |