Click or drag to resize

VisualServerForceDraw Method

Forces a frame to be drawn when the function is called. Drawing a frame updates all Viewports that are set to update. Use with extreme caution.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ForceDraw(
	bool swapBuffers = true,
	double frameStep = 0
)

Parameters

swapBuffers (Optional)
Type: SystemBoolean

[Missing <param name="swapBuffers"/> documentation for "M:Godot.VisualServer.ForceDraw(System.Boolean,System.Double)"]

frameStep (Optional)
Type: SystemDouble

[Missing <param name="frameStep"/> documentation for "M:Godot.VisualServer.ForceDraw(System.Boolean,System.Double)"]

See Also