FFrameTime::FromDecimal

Convert a decimal representation to a frame time

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/FrameTime.h

Include

#include "Misc/FrameTime.h"

Syntax

static FFrameTime FromDecimal
(
    double InDecimalFrame
)

Remarks

Convert a decimal representation to a frame time

that sub frames are always positive, so negative decimal representations result in an inverted sub frame and floored frame number