FFrameRate::AsFrameTime

Convert the specified time in seconds to a frame number by rounding down to the nearest integer.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/FrameRate.h"

Syntax

FFrameTime AsFrameTime
(
    double InTimeSeconds
) const

Remarks

Convert the specified time in seconds to a frame number by rounding down to the nearest integer.

Returns

A frame number that represents the supplied time. Rounded down to the nearest integer.

Parameters

Parameter

Description

InTimeSeconds

The time to convert in seconds

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss