VisualServerMeshSurfaceUpdateRegion Method |
Updates a specific region of a vertex buffer for the specified surface. Warning: this function alters the vertex buffer directly with no safety mechanisms, you can easily corrupt your mesh.
Namespace: Godot
public static void MeshSurfaceUpdateRegion( RID mesh, int surface, int offset, byte[] data )
[Missing <param name="mesh"/> documentation for "M:Godot.VisualServer.MeshSurfaceUpdateRegion(Godot.RID,System.Int32,System.Int32,System.Byte[])"]
[Missing <param name="surface"/> documentation for "M:Godot.VisualServer.MeshSurfaceUpdateRegion(Godot.RID,System.Int32,System.Int32,System.Byte[])"]
[Missing <param name="offset"/> documentation for "M:Godot.VisualServer.MeshSurfaceUpdateRegion(Godot.RID,System.Int32,System.Int32,System.Byte[])"]
[Missing <param name="data"/> documentation for "M:Godot.VisualServer.MeshSurfaceUpdateRegion(Godot.RID,System.Int32,System.Int32,System.Byte[])"]