Click or drag to resize

PerformanceGetMonitor Method

Returns the value of one of the available monitors. You should provide one of the PerformanceMonitor constants as the argument, like this:

print(Performance.get_monitor(Performance.TIME_FPS)) # Prints the FPS to the console

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float GetMonitor(
	PerformanceMonitor monitor
)

Parameters

monitor
Type: GodotPerformanceMonitor

[Missing <param name="monitor"/> documentation for "M:Godot.Performance.GetMonitor(Godot.Performance.Monitor)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.Performance.GetMonitor(Godot.Performance.Monitor)"]

See Also