FFrameRate::TransformTime

Convert the specified time from one framerate to another framerate

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Misc/FrameRate.h"

Syntax

static FFrameTime TransformTime
(
    FFrameTime SourceTime,
    FFrameRate SourceRate,
    FFrameRate DestinationRate
)

Remarks

Convert the specified time from one framerate to another framerate

Returns

A frame time in the destination frame rate

Parameters

Parameter

Description

SourceTime

The frame number to convert

SourceRate

The source frame rate

DestinationRate

The destination frame rate