Click or drag to resize

ArrayMeshSurfaceUpdateRegion Method

Updates a specified region of mesh arrays on the GPU.

Warning: Only use if you know what you are doing. You can easily cause crashes by calling this function with improper arguments.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SurfaceUpdateRegion(
	int surfIdx,
	int offset,
	byte[] data
)

Parameters

surfIdx
Type: SystemInt32

[Missing <param name="surfIdx"/> documentation for "M:Godot.ArrayMesh.SurfaceUpdateRegion(System.Int32,System.Int32,System.Byte[])"]

offset
Type: SystemInt32

[Missing <param name="offset"/> documentation for "M:Godot.ArrayMesh.SurfaceUpdateRegion(System.Int32,System.Int32,System.Byte[])"]

data
Type: SystemByte

[Missing <param name="data"/> documentation for "M:Godot.ArrayMesh.SurfaceUpdateRegion(System.Int32,System.Int32,System.Byte[])"]

See Also