Static Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
profilerAddFrameData(name:data:)
Calls the add
callable of the profiler with given name
and data
.
static func profilerAddFrameData(name: StringName, data: GArray)
Other members in extension
Type members
static func hasCapture(name: StringName
) -> Bool Returns
true
if a capture with the given name is present otherwisefalse
.static func hasProfiler(name: StringName
) -> Bool Returns
true
if a profiler with the given name is present otherwisefalse
.static func isActive(
) -> Bool Returns
true
if the debugger is active otherwisefalse
.static func isProfiling(name: StringName
) -> Bool Returns
true
if a profiler with the given name is present and active otherwisefalse
.static func profilerEnable(name: StringName, enable: Bool, arguments: GArray
) Calls the
toggle
callable of the profiler with givenname
andarguments
. Enables/Disables the same profiler depending onenable
argument.static func registerMessageCapture(name: StringName, callable: Callable
) Registers a message capture with given
name
. Ifname
is “my_message” then messages starting with “my_message:” will be called with the given callable.static func registerProfiler(name: StringName, profiler: EngineProfiler?
) Registers a profiler with the given
name
. SeeEngineProfiler
for more information.static func sendMessage(String, data: GArray
) Sends a message with given
message
anddata
array.static func unregisterMessageCapture(name: StringName
) Unregisters the message capture with given
name
.static func unregisterProfiler(name: StringName
) Unregisters a profiler with given
name
.class var godotClassName: StringName