Files
UnrealEngine/Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/IMovieSceneSectionsToKey.h
2025-05-18 13:04:45 +08:00

38 lines
757 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/NameTypes.h"
#include "UObject/Interface.h"
#include "IMovieSceneSectionsToKey.generated.h"
class UMovieSceneSection;
/**
* Functionality for having multiple sections per key
*/
UINTERFACE(MinimalAPI)
class UMovieSceneSectionsToKey : public UInterface
{
public:
GENERATED_BODY()
};
/**
* Interface to be added to UMovieSceneTrack when they have multiple sections to key
*/
class IMovieSceneSectionsToKey
{
public:
GENERATED_BODY()
MOVIESCENETRACKS_API IMovieSceneSectionsToKey();
/* Get multiple sections to key*/
virtual TArray<TWeakObjectPtr<UMovieSceneSection>> GetSectionsToKey() const = 0;
};