UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MovieSceneShotMetaData.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "UObject/Object.h"
7#include "MovieSceneShotMetaData.generated.h"
8
9#define UE_API MOVIESCENE_API
10
11struct FAssetData;
12
20UCLASS(MinimalAPI)
24{
26public:
27
38
40 {
41 return
42 {
43 AssetRegistryTag_bIsNoGood,
44 AssetRegistryTag_bIsFlagged,
45 AssetRegistryTag_bIsRecorded,
46 AssetRegistryTag_bIsSubSequence,
47 AssetRegistryTag_FavoriteRating
48 };
49 }
50
51 const TOptional<bool>& GetIsNoGood() const { return bIsNoGood; }
52 const TOptional<bool>& GetIsFlagged() const { return bIsFlagged; }
53 const TOptional<bool>& GetIsRecorded() const { return bIsRecorded; }
54 const TOptional<bool>& GetIsSubSequence() const { return bIsSubSequence; }
55 const TOptional<int32>& GetFavoriteRating() const { return FavoriteRating; }
56
57 void SetIsNoGood(bool bInIsNoGood) { bIsNoGood = bInIsNoGood; }
58 void SetIsFlagged(bool bInIsFlagged) { bIsFlagged = bInIsFlagged; }
59 void SetIsRecorded(bool bInIsRecorded) { bIsRecorded = bInIsRecorded; }
60 void SetIsSubSequence(bool bInIsSubSequence) { bIsSubSequence = bInIsSubSequence; }
62
63 void ClearIsNoGood() { bIsNoGood.Reset(); }
64 void ClearIsFlagged() { bIsFlagged.Reset(); }
65 void ClearIsRecorded() { bIsRecorded.Reset(); }
66 void ClearIsSubSequence() { bIsSubSequence.Reset(); }
67 void ClearFavoriteRating() { FavoriteRating.Reset(); }
68
69 static UE_API bool GetIsNoGoodByAssetData(const FAssetData& InAssetData, bool& bOutNoGood);
70 static UE_API bool GetIsFlaggedByAssetData(const FAssetData& InAssetData, bool& bOutIsFlagged);
71 static UE_API bool GetIsRecordedByAssetData(const FAssetData& InAssetData, bool& bOutIsRecorded);
72 static UE_API bool GetIsSubSequenceByAssetData(const FAssetData& InAssetData, bool& bOutIsSubSequence);
73 static UE_API bool GetFavoriteRatingByAssetData(const FAssetData& InAssetData, int32& OutFavoriteRating);
74
75 // Begin IMovieSceneMetaDataInterface Interface
76 UE_API virtual void ExtendAssetRegistryTags(FAssetRegistryTagsContext Context) const override;
77#if WITH_EDITOR
79#endif
80 // End IMovieSceneMetaDataInterface Interface
81
82private:
83
85 UPROPERTY()
86 TOptional<bool> bIsNoGood;
87
89 UPROPERTY()
90 TOptional<bool> bIsFlagged;
91
93 UPROPERTY()
94 TOptional<bool> bIsRecorded;
95
97 UPROPERTY()
98 TOptional<bool> bIsSubSequence;
99
101 UPROPERTY()
102 TOptional<int32> FavoriteRating;
103};
104
105#undef UE_API
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition MovieSceneShotMetaData.h:9
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition AssetRegistryTagsContext.h:98
Definition NameTypes.h:617
Definition IMovieSceneMetaData.h:20
Definition Array.h:670
Definition UnrealString.h.inl:34
Definition MovieSceneShotMetaData.h:24
void SetIsSubSequence(bool bInIsSubSequence)
Definition MovieSceneShotMetaData.h:60
void SetIsNoGood(bool bInIsNoGood)
Definition MovieSceneShotMetaData.h:57
static UE_API const FName AssetRegistryTag_bIsRecorded
Definition MovieSceneShotMetaData.h:33
void ClearIsFlagged()
Definition MovieSceneShotMetaData.h:64
const TOptional< bool > & GetIsNoGood() const
Definition MovieSceneShotMetaData.h:51
static UE_API const FName AssetRegistryTag_bIsNoGood
Definition MovieSceneShotMetaData.h:29
void ClearIsRecorded()
Definition MovieSceneShotMetaData.h:65
void SetIsRecorded(bool bInIsRecorded)
Definition MovieSceneShotMetaData.h:59
static UE_API const FName AssetRegistryTag_bIsFlagged
Definition MovieSceneShotMetaData.h:31
const TOptional< bool > & GetIsRecorded() const
Definition MovieSceneShotMetaData.h:53
void SetIsFlagged(bool bInIsFlagged)
Definition MovieSceneShotMetaData.h:58
const TOptional< bool > & GetIsSubSequence() const
Definition MovieSceneShotMetaData.h:54
void ClearIsSubSequence()
Definition MovieSceneShotMetaData.h:66
const TOptional< bool > & GetIsFlagged() const
Definition MovieSceneShotMetaData.h:52
static UE_API const FName AssetRegistryTag_FavoriteRating
Definition MovieSceneShotMetaData.h:37
void ClearFavoriteRating()
Definition MovieSceneShotMetaData.h:67
const TOptional< int32 > & GetFavoriteRating() const
Definition MovieSceneShotMetaData.h:55
static TArray< FName > GetAllTags()
Definition MovieSceneShotMetaData.h:39
void SetFavoriteRating(int32 InFavoriteRating)
Definition MovieSceneShotMetaData.h:61
static UE_API const FName AssetRegistryTag_bIsSubSequence
Definition MovieSceneShotMetaData.h:35
void ClearIsNoGood()
Definition MovieSceneShotMetaData.h:63
Definition Object.h:95
Definition AssetData.h:162
Definition Optional.h:131