Function SurfaceTool.commit
Returns a constructed ArrayMesh
from current information passed in. If an existing ArrayMesh
is passed in as an argument, will add an extra surface to the existing ArrayMesh
.
Default flag is constant Mesh
. See ARRAY_COMPRESS_*
constants in Mesh
for other flags.
godot .d .reference .Ref!(godot.arraymesh.ArrayMesh) commit
(
ArrayMesh existing = ArrayMesh(godot_object(null), ),
const(long) flags = 97280L
) nothrow @nogc;