Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::SplineAddress Struct Reference

#include <Spline.h>

Public Member Functions

 SplineAddress (size_t segmentIndex)
 
 SplineAddress (size_t segmentIndex, float segmentFraction)
 
bool operator== (const SplineAddress &splineAddress) const
 

Public Attributes

u64 m_segmentIndex = 0
 Which segment along the spline you are on.
 
float m_segmentFraction = 0.0f
 Percentage along a given segment - range [0, 1].
 

Static Public Attributes

static const float s_segmentFractionEpsilon
 Epsilon value for segment fraction spline address comparison.
 

Detailed Description

Interface for representing a specific position on a spline.


The documentation for this struct was generated from the following file: