unreal.FrameRate

class unreal.FrameRate(numerator=0, denominator=1)

Bases: unreal.StructBase

A frame rate represented as a fraction comprising 2 integers: a numerator (number of frames), and a denominator (per second). The full C++ class is located here: EngineSourceRuntimeCorePublicMiscFrameRate.h:

C++ Source:

  • Module: CoreUObject
  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • denominator (int32): [Read-Write] The denominator of the framerate represented as a number of frames per second (e.g. 1 for 60 fps)
  • numerator (int32): [Read-Write] The numerator of the framerate represented as a number of frames per second (e.g. 60 for 60 fps)
denominator

(int32) – [Read-Write] The denominator of the framerate represented as a number of frames per second (e.g. 1 for 60 fps)

numerator

(int32) – [Read-Write] The numerator of the framerate represented as a number of frames per second (e.g. 60 for 60 fps)