ImmediateGeometryBegin Method |
Begin drawing (and optionally pass a texture override). When done call End. For more information on how this works, search for glBegin() and glEnd() references.
For the type of primitive, see the MeshPrimitiveType enum.
Namespace: Godot
public void Begin( MeshPrimitiveType primitive, Texture texture = null )
[Missing <param name="primitive"/> documentation for "M:Godot.ImmediateGeometry.Begin(Godot.Mesh.PrimitiveType,Godot.Texture)"]
[Missing <param name="texture"/> documentation for "M:Godot.ImmediateGeometry.Begin(Godot.Mesh.PrimitiveType,Godot.Texture)"]