Skip to content

ludus::foundation::geometry::TrackView

Ludus Wiki · API overview · Browse API

Struct

Borrowed, allocation-free view of a PreparedTrack.

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp

#include <ludus/foundation/geometry/track.hpp>
struct ludus::foundation::geometry::TrackView final

Fields

Spans

BorrowedView<const PreparedTrackSpan> ludus::foundation::geometry::TrackView::Spans
Spans in time order; empty for an unprepared track.

Related types: BorrowedView · PreparedTrackSpan

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp

StartTime

float64 ludus::foundation::geometry::TrackView::StartTime = 0.0
First key time, seconds.

Related types: float64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp

EndTime

float64 ludus::foundation::geometry::TrackView::EndTime = 0.0
Last key time, seconds.

Related types: float64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp