Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGPolygon2DData
Description
Get the input key at a distance along the line. InputKey is a float value in [0, N], where N is the number of control points. Each range [i, i+1] represents an interpolation from 0 to 1 across spline segment i.
Virtual Inheritance
- UPCGPolyLineData::GetInputKeyAtDistance → UPCGPolygon2DData::GetInputKeyAtDistance
| Name | GetInputKeyAtDistance |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGPolygon2DData.h |
| Include Path | #include "Data/PCGPolygon2DData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGPolygon2DData.cpp |
virtual float GetInputKeyAtDistance
(
int SegmentIndex,
double Distance
) const