FTimecode::FromTimespan

Create a [FTimecode](API\Runtime\Core\Misc\FTimecode) from a timespan at the given frame rate.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/Timecode.h"

Syntax

static FTimecode FromTimespan
(
    const FTimespan & InTimespan,
    const FFrameRate & InFrameRate,
    bool InbRollover
)

Remarks

Create a FTimecode from a timespan at the given frame rate.

Parameters

Parameter

Description

InFrameNumber

The timespan to convert into a timecode.

InFrameRate

The framerate that this timecode is based in. This should be the playback framerate as it is used to determine when the Frame value wraps over.

InbRollover

If true, the hours will be the modulo of 24.

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