19 lines
553 B
C++
19 lines
553 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Evaluation/MovieSceneEvalTemplate.h"
|
|
#include "Evaluation/MovieSceneEvalTemplateSerializer.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(MovieSceneEvalTemplate)
|
|
|
|
float FMovieSceneEvalTemplate::EvaluateEasing(FFrameTime CurrentTime) const
|
|
{
|
|
return SourceSectionPtr.IsValid() ? SourceSectionPtr->EvaluateEasing(CurrentTime) : 1.f;
|
|
}
|
|
|
|
bool FMovieSceneEvalTemplatePtr::Serialize(FArchive& Ar)
|
|
{
|
|
bool bShouldWarn = !WITH_EDITORONLY_DATA;
|
|
return SerializeInlineValue(*this, Ar, bShouldWarn);
|
|
}
|
|
|