Function NavmeshCut.GetContourBurst

GetContourBurst (UnsafeList<float2> * outputVertices, UnsafeList<ContourBurst> * outputContours, Matrix4x4 matrix, float radiusMargin)

Contour of the navmesh cut.

Public
unsafe void GetContourBurst (

UnsafeList<float2> *

outputVertices

Will be filled with all vertices

UnsafeList<ContourBurst> *

outputContours

Will be filled with all contours that reference the outputVertices list.

Matrix4x4

matrix

All points will be transformed using this matrix. They are in world space before the transformation. Typically this a matrix that maps from world space to graph space.

float

radiusMargin

The obstacle will be expanded by this amount. Typically this is the character radius for the graph. The MeshType.CustomMesh does not support this.

)

Contour of the navmesh cut.

Fills the specified buffer with all contours. The cut may contain several contours.