You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Put channels in alphabetical order in buffer visualizer Fix uninitialized argument for buffer visualizer Add buttons to increment/decrement frame offset and time evaluation offset Add dropdown to select evaluation offset type (frame vs seconds) Fix style not being registered resulting in white texture Changed progress bar to custom frame time widget Fix borders in timed data monitor panel #rb simon.therriault #preflight 62d0c601a66919b670fbc0d5 #jira UE-145857 [CL 21102927 by jeremie roy in ue5-main branch]
29 lines
859 B
C++
29 lines
859 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "ITimedDataInput.h"
|
|
|
|
FFrameRate ITimedDataInput::UnknownFrameRate = FFrameRate(-1, -1);
|
|
|
|
|
|
double ITimedDataInput::ConvertSecondOffsetInFrameOffset(double Seconds, FFrameRate Rate)
|
|
{
|
|
return Rate.AsFrameTime(Seconds).AsDecimal();
|
|
}
|
|
|
|
|
|
double ITimedDataInput::ConvertFrameOffsetInSecondOffset(double Frames, FFrameRate Rate)
|
|
{
|
|
return Rate.AsSeconds(FFrameTime::FromDecimal(Frames));
|
|
}
|
|
|
|
double ITimedDataInput::ConvertSecondOffsetInFrameOffset(double Seconds) const
|
|
{
|
|
const FFrameRate FrameRate = GetFrameRate();
|
|
return ITimedDataInput::ConvertSecondOffsetInFrameOffset(Seconds, FrameRate);
|
|
}
|
|
|
|
double ITimedDataInput::ConvertFrameOffsetInSecondOffset(double Frames) const
|
|
{
|
|
const FFrameRate FrameRate = GetFrameRate();
|
|
return ITimedDataInput::ConvertFrameOffsetInSecondOffset(Frames, FrameRate);
|
|
} |