ludus::foundation::geometry::PathSource¶
Ludus Wiki · API overview · Browse API
Struct
Whole source path for TryPreparePath.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
#include <ludus/foundation/geometry/path.hpp>
struct ludus::foundation::geometry::PathSource final
Fields¶
Origin¶
math::Vector3d ludus::foundation::geometry::PathSource::Origin {}
Float64 chunk origin subtracted before narrowing.
Related types: math::Vector3d
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
Spans¶
BorrowedView<const PathSpanSource> ludus::foundation::geometry::PathSource::Spans
At least one span, borrowed for the call only.
Related types: BorrowedView · PathSpanSource
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
IsClosed¶
bool ludus::foundation::geometry::PathSource::IsClosed = false
The last span ends where the first starts; enables BoundaryPolicy::Wrap.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
AssetScale¶
float64 ludus::foundation::geometry::PathSource::AssetScale = 0.0
Declared asset scale for RelativePositionError; finite and >= 0.
Related types: float64
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
Revision¶
uint64 ludus::foundation::geometry::PathSource::Revision = 0
Owner-assigned snapshot revision copied into caches built from this path.
Related types: uint64
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp