![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Member Functions | |
| FTimecodeParser () | |
| TOptional< FTimecode > | Evaluate (const FStringView InString) const |
Static Public Member Functions | |
| static FTimecodeParser & | Get () |
Public Attributes | |
| const TArray< TCHAR, TInlineAllocator< 3 > > | AllSeparators |
| const TArray< TCHAR, TInlineAllocator< 3 > > | SubFrameSeparators |
| const TArray< TCHAR, TInlineAllocator< 3 > > | DropFrameSeparators |
| TArray< const TArray< TCHAR, TInlineAllocator< 3 > > *, TInlineAllocator< 4 > > | ValueSeparators |
Parses a string representation of a timecode.
Supported SMPTE drop frame (DF) and non-drop frame (NDF) formats variations:
The 2 digits per number is not enforced. It is possible to parse high frame numbers (above 60), such as for audio timecodes. Full SMPTE compliance is not ensured by the parser (i.e. greater than 24h, negative time and any number of frames per second).
Sub-frame variation: Supports the sub-frame variation where the frame number is a decimal number: HH:MM:SS:FF.ZZ.
Side effect of supporting sub-frame is that this parser can't unambiguously parse partial timecodes. For instance, "00:00.00" is ambiguous because it is undetermined if the last value is frame or sub-frame.
|
inline |
|
inline |
|
inlinestatic |
| const TArray<TCHAR, TInlineAllocator<3> > UE::Core::Private::FTimecodeParser::AllSeparators |
| const TArray<TCHAR, TInlineAllocator<3> > UE::Core::Private::FTimecodeParser::DropFrameSeparators |
| const TArray<TCHAR, TInlineAllocator<3> > UE::Core::Private::FTimecodeParser::SubFrameSeparators |
| TArray<const TArray<TCHAR, TInlineAllocator<3> >*, TInlineAllocator<4> > UE::Core::Private::FTimecodeParser::ValueSeparators |