Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data > API/Plugins/PCG/Data/UPCGLandscapeSplineData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGLandscapeSplineData.h |
| Include | #include "Data/PCGLandscapeSplineData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGLandscapeSplineData.cpp |
void GetInterpPointAtDistance
(
int SegmentIndex,
FVector::FReal Distance,
int32 & OutPointIndex,
bool bComputeAlpha,
FVector::FReal & OutAlpha
) const
Remarks
Get the index of the first interp point before a given distance. Also computes the Alpha describing how far (in [0, 1]) the sample is between the left and right points.