Files
UnrealEngine/Engine/Source/Runtime/Experimental/Animation/Constraints/Private/ConstraintChannel.cpp
2025-05-18 13:04:45 +08:00

22 lines
399 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ConstraintChannel.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(ConstraintChannel)
bool FMovieSceneConstraintChannel::Evaluate(FFrameTime InTime, bool& OutValue) const
{
if (Times.IsEmpty())
{
return false;
}
if (InTime.FrameNumber < Times[0])
{
return false;
}
return FMovieSceneBoolChannel::Evaluate(InTime, OutValue);
}