Click or drag to resize

SurfaceToolCommit Method

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 . See ARRAY_COMPRESS_* constants in MeshArrayFormat for other flags.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public ArrayMesh Commit(
	ArrayMesh existing = null,
	uint flags = 97280
)

Parameters

existing (Optional)
Type: GodotArrayMesh

[Missing <param name="existing"/> documentation for "M:Godot.SurfaceTool.Commit(Godot.ArrayMesh,System.UInt32)"]

flags (Optional)
Type: SystemUInt32

[Missing <param name="flags"/> documentation for "M:Godot.SurfaceTool.Commit(Godot.ArrayMesh,System.UInt32)"]

Return Value

Type: ArrayMesh

[Missing <returns> documentation for "M:Godot.SurfaceTool.Commit(Godot.ArrayMesh,System.UInt32)"]

See Also