Function PathTracer.GetNextCornerIndices

GetNextCornerIndices (ref NativeArray<int> buffer, int maxCorners, Allocator allocator, out bool lastCorner, ITraversalProvider traversalProvider, Path path)

Calculate the indices of the next corners in the path.

Public
int GetNextCornerIndices (

ref NativeArray<int>

buffer

int

maxCorners

Allocator

allocator

out bool

lastCorner

ITraversalProvider

traversalProvider

Path

path

)

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.