Choose your operating system:
Windows
macOS
Linux
| FFrameRate
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/FrameRate.h |
Include |
#include "Misc/FrameRate.h" |
struct FFrameRate
A frame rate represented as a fraction comprising 2 integers: a numerator (number of frames), and a denominator (per second)
Name | Description | |
---|---|---|
|
FFrameRate() |
Default construction to a frame rate of 60000 frames per second (0.0166 ms) |
|
FFrameRate |
Name | Description | ||
---|---|---|---|
|
double |
AsDecimal() |
Get the decimal representation of this framerate |
|
AsFrameNumber ( |
Convert the specified time in seconds to a frame number by rounding down to the nearest integer. |
|
|
AsFrameTime ( |
Convert the specified time in seconds to a frame number by rounding down to the nearest integer. |
|
|
double |
AsInterval() |
Get the decimal representation of this framerate's interval |
|
double |
AsSeconds ( |
Convert the specified frame number to a floating-point number of seconds based on this framerate |
|
ComputeGridSpacing ( |
Compute a desirable grid spacing for the specified screen units |
|
|
IsFactorOf ( |
Check whether this frame rate is a factor of another |
|
|
IsMultipleOf ( |
Check whether this frame rate is a multiple of another |
|
|
IsValid() |
Verify that this frame rate is valid to use |
|
|
double |
MaxSeconds() |
Get the maximum number of seconds representable with this framerate |
|
Reciprocal() |
Get the reciprocal of this frame rate |
|
|
Snap ( |
Snap a time specified in one framerate, to another |
|
|
ToPrettyText() |
Convert this frame rate to a prettified text string. |
|
|
TransformTime ( |
Convert the specified time from one framerate to another framerate |