Function ColliderMeshBuilder2D.GenerateMeshesFromShapes

GenerateMeshesFromShapes (refUnsafeSpan<PhysicsShape2D> shapes, refUnsafeSpan<float2> vertices, refUnsafeSpan<Matrix4x4> shapeMatrices, refUnsafeSpan<int> groupIndices, ref UnsafeList<float3> outputVertices, ref UnsafeList<int3> outputIndices, refUnsafeSpan<ShapeMesh> outputShapeMeshes, float maxError)
Public Static
int GenerateMeshesFromShapes (

refUnsafeSpan<PhysicsShape2D>

shapes

refUnsafeSpan<float2>

vertices

refUnsafeSpan<Matrix4x4>

shapeMatrices

refUnsafeSpan<int>

groupIndices

ref UnsafeList<float3>

outputVertices

ref UnsafeList<int3>

outputIndices

refUnsafeSpan<ShapeMesh>

outputShapeMeshes

float

maxError

)