📪Sector
This is an internal class automatically initialized by the TrackManager based on the number of sectors present in a track and is calculated based on the number of track points and the type of track.
This is explained further in the TrackType section of the TrackManager component.
A sector holds important time trial information such as:
The index of the sector
Whether the sector has been completed by a LapTimeTrackingObject
How long the sector took to be completed by a LapTimeTrackingObject
A time formatted representation of that sector time. (Formatted to the nearest millisecond by default).
NOTE: To change the formatting of how your lap and sector times are represented, you can modify the FormatTime function in the LapTimeTrackingObject. The default time format is 'm\:ss\.fff' which rounds times to the nearest millisecond.
Last updated