Click or drag to resize

VisualServerImmediateVertex2d Method

Adds the next vertex using the information provided in advance. This is a helper class that calls ImmediateVertex(RID, Vector3) under the hood. Equivalent to AddVertex(Vector3).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ImmediateVertex2d(
	RID immediate,
	Vector2 vertex
)

Parameters

immediate
Type: GodotRID

[Missing <param name="immediate"/> documentation for "M:Godot.VisualServer.ImmediateVertex2d(Godot.RID,Godot.Vector2)"]

vertex
Type: GodotVector2

[Missing <param name="vertex"/> documentation for "M:Godot.VisualServer.ImmediateVertex2d(Godot.RID,Godot.Vector2)"]

See Also