I’ve been playing with PCG a lot recently, but I fail to understand the value/use of the “Context” in multiple cases.
Most specifically, when working with input pin points, you can access UPCGPointData
, on which you can call ToPointDataWithContext
– I assume returns the same point… but with a given context which I’m not sure why for.
To give an example, I’m currently working on some code to sort points (for better control over spline generation), and am not sure if it makes any real difference to do
TArray<FPCGPoint> PointList = PointData->ToPointDataWithContext(InContext)->GetPoints();
or
TArray<FPCGPoint> PointList = PointData->GetPoints();
and after that, on which PointData would it be most relevant to SetPoints
?
Is there any difference in values to the returned FPCGPoint
s, based on whether a context is provided or not?
Thank you!