Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FTimecode > FromTimespan
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Timecode.h |
Include | #include "Misc/Timecode.h" |
static FTimecode FromTimespan
&40;
const FTimespan & InTimespan,
const FFrameRate & InFrameRate,
bool InbRollover
&41;
Remarks
Create a FTimecode from a timespan at the given frame rate.
Parameters
Name | Description |
---|---|
InTimespan | 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. |