ludus::foundation::geometry::TrackKey¶
Ludus Wiki · API overview · Browse API
Struct
One source key. Slopes are value units per second.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp
#include <ludus/foundation/geometry/track.hpp>
struct ludus::foundation::geometry::TrackKey final
Fields¶
Time¶
float64 ludus::foundation::geometry::TrackKey::Time = 0.0
Seconds from the local epoch; strictly increasing across keys.
Related types: float64
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp
Value¶
float32 ludus::foundation::geometry::TrackKey::Value = 0.0F
Value at Time.
Related types: float32
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp
InSlope¶
float32 ludus::foundation::geometry::TrackKey::InSlope = 0.0F
Derivative arriving at the key; used when the previous span is Hermite.
Related types: float32
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp
OutSlope¶
float32 ludus::foundation::geometry::TrackKey::OutSlope = 0.0F
Derivative leaving the key; used when this key's span is Hermite.
Related types: float32
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp
Interpolation¶
TrackInterpolation ludus::foundation::geometry::TrackKey::Interpolation = TrackInterpolation::Linear
Span starting here; ignored on the last key.
Related types: TrackInterpolation
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/track.hpp