FFrameRate::Snap

Snap a time specified in one framerate, to another

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/FrameRate.h"

Syntax

static FFrameTime Snap
(
    FFrameTime SourceTime,
    FFrameRate SourceRate,
    FFrameRate SnapToRate
)

Remarks

Snap a time specified in one framerate, to another

Returns

A frame time in the destination frame rate

Parameters

Parameter

Description

SourceTime

The frame number to convert

SourceRate

The source frame rate

SnapToRate

The destination frame rate

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