Function PathTracer.GetNextCornerIndices
GetNextCornerIndices
(ref NativeArray<int> buffer, int maxCorners, Allocator allocator, bool allowSimplify, out bool lastCorner)
Calculate the indices of the next corners in the path.
Public
int GetNextCornerIndices (
ref NativeArray<int> | buffer | |
int | maxCorners | |
Allocator | allocator | |
bool | allowSimplify | |
out bool | lastCorner |
Calculate the indices of the next corners in the path.
This is like GetNextCorners, except that it returns indices referring to the internal funnelState. You can use ConvertCornerIndicesToPathProjected or funnelState.ConvertCornerIndicesToPath to convert the indices to world space positions.