Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Begin(
	MeshPrimitiveType primitive,
	Texture texture = null
)

Parameters

primitive
Type: GodotMeshPrimitiveType

[Missing <param name="primitive"/> documentation for "M:Godot.ImmediateGeometry.Begin(Godot.Mesh.PrimitiveType,Godot.Texture)"]

texture (Optional)
Type: GodotTexture

[Missing <param name="texture"/> documentation for "M:Godot.ImmediateGeometry.Begin(Godot.Mesh.PrimitiveType,Godot.Texture)"]

See Also