unreal.HealthSnapshotBlueprintLibrary

class unreal.HealthSnapshotBlueprintLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Health Snapshot Blueprint Library

C++ Source:

  • Module: Engine

  • File: HealthSnapshot.h

classmethod log_performance_snapshot(snapshot_title, reset_stats=True)None

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

Parameters
  • snapshot_title (str) – The name to be given to the new HealthSnapshot.

  • reset_stats (bool) –

classmethod start_performance_snapshots()None

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

classmethod stop_performance_snapshots()None

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.