G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
HealthSnapshot Namespace Reference

Functions

Performance | HealthSnapshot
void StartPerformanceSnapshots ()
 Begins capturing FPS charts that can be used to include performance data in a HealthSnapshot. If snapshots are already running clears all accumulated performance data.
void StopPerformanceSnapshots ()
 Stops capturing FPS charts only if StartHealthSnapshotChart has first been called. Does nothing if FPS charts are not running. HealthSnapshots captured after this is called will not include performance stats.
void LogPerformanceSnapshot (const FString SnapshotTitle, bool bResetStats=true)
 Writes a snapshot to the log. Captures memory stats by default. Also captures performance stats if called after StartHealthSnapshotChart and before SopHealthSnapshotChart.

Function Documentation

◆ LogPerformanceSnapshot()

void LogPerformanceSnapshot ( const FString SnapshotTitle,
bool bResetStats = true )

Writes a snapshot to the log. Captures memory stats by default. Also captures performance stats if called after StartHealthSnapshotChart and before SopHealthSnapshotChart.

Parameters
SnapshotTitleThe name to be given to the new HealthSnapshot.

◆ StartPerformanceSnapshots()

void StartPerformanceSnapshots ( )

Begins capturing FPS charts that can be used to include performance data in a HealthSnapshot. If snapshots are already running clears all accumulated performance data.

◆ StopPerformanceSnapshots()

void StopPerformanceSnapshots ( )

Stops capturing FPS charts only if StartHealthSnapshotChart has first been called. Does nothing if FPS charts are not running. HealthSnapshots captured after this is called will not include performance stats.