Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/FPCGSplineSamplerParams
Syntax
UPROPERTY (BlueprintReadWrite, EditAnywhere, Category=Settings,
Meta=(EditCondition="Mode==EPCGSplineSamplingMode::Distance&&Dimension!=EPCGSplineSamplingDimension::OnInterior", EditConditionHides))
bool bFitToCurve
Remarks
If the length of the spline does not divide evenly into the DistanceIncrement, the final sample point will not land on the end of the spline. Enable this to force the DistanceIncrement to be rounded up to the nearest value which would yield evenly spaced samples across the entire length of the spline.