Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Data > API/Plugins/PCG/Data/UPCGPolyLineData
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGPolyLineData.h |
| Include | #include "Data/PCGPolyLineData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGPolyLineData.cpp |
virtual float GetAlphaAtDistance
(
int SegmentIndex,
FVector::FReal Distance
) const
Remarks
Get a value [0,1] representing how far along the point is to the end of the line. Each segment on the line represents a same-size interval. For example, if there are three segments, each segment will take up 0.333... of the interval.