unreal.FrameMetrics
¶
- class unreal.FrameMetrics(total_elapsed_time: float = 0.0, frame_delta: float = 0.0, frame_number: int = 0, num_dropped_frames: int = 0)¶
Bases:
StructBase
Metrics that correspond to a particular frame
C++ Source:
Module: MovieSceneCapture
File: MovieSceneCaptureProtocolBase.h
Editor Properties: (see get_editor_property/set_editor_property)
frame_delta
(float): [Read-Write] Frame Delta: The total amount of time, in seconds, that this specific frame took to render (not accounting for dropped frames)frame_number
(int32): [Read-Write] Frame Number: The index of this frame from the start of the capture, including dropped framesnum_dropped_frames
(int32): [Read-Write] Num Dropped Frames: The number of frames we dropped in-between this frame, and the last one we capturedtotal_elapsed_time
(float): [Read-Write] Total Elapsed Time: The total amount of time, in seconds, since the capture started
- property frame_delta: float¶
[Read-Only] Frame Delta: The total amount of time, in seconds, that this specific frame took to render (not accounting for dropped frames)
- Type:
(float)
- property frame_number: int¶
[Read-Only] Frame Number: The index of this frame from the start of the capture, including dropped frames
- Type:
(int32)