You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
894 B
C++
27 lines
894 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "Systems/MovieSceneEnumPropertySystem.h"
|
||
|
|
#include "Systems/ByteChannelEvaluatorSystem.h"
|
||
|
|
#include "MovieSceneTracksComponentTypes.h"
|
||
|
|
|
||
|
|
UMovieSceneEnumPropertySystem::UMovieSceneEnumPropertySystem(const FObjectInitializer& ObjInit)
|
||
|
|
: Super(ObjInit)
|
||
|
|
{
|
||
|
|
SystemExclusionContext |= UE::MovieScene::EEntitySystemContext::Interrogation;
|
||
|
|
|
||
|
|
BindToProperty(UE::MovieScene::FMovieSceneTracksComponentTypes::Get()->Enum);
|
||
|
|
|
||
|
|
if (HasAnyFlags(RF_ClassDefaultObject))
|
||
|
|
{
|
||
|
|
DefineImplicitPrerequisite(UByteChannelEvaluatorSystem::StaticClass(), GetClass());
|
||
|
|
|
||
|
|
DefineComponentConsumer(GetClass(), UE::MovieScene::FMovieSceneTracksComponentTypes::Get()->Enum.PropertyTag);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
void UMovieSceneEnumPropertySystem::OnRun(FSystemTaskPrerequisites& InPrerequisites, FSystemSubsequentTasks& Subsequents)
|
||
|
|
{
|
||
|
|
Super::OnRun(InPrerequisites, Subsequents);
|
||
|
|
}
|
||
|
|
|