Navigation
API > API/Plugins > API/Plugins/TakesCore
Take meta-data that is stored on ULevelSequence assets that are recorded through the Take Recorder. Meta-data is retrieved through ULevelSequence::FindMetaData
| Name | UTakeMetaData |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Takes/Source/TakesCore/Public/TakeMetaData.h |
| Include Path | #include "TakeMetaData.h" |
Syntax
UCLASS (MinimalAPI, Config=EditorSettings, PerObjectConfig, BlueprintType)
class UTakeMetaData :
public UObject ,
public IMovieSceneMetaDataInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTakeMetaData
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTakeMetaData
(
const FObjectInitializer& ObjInit |
TakeMetaData.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnTakeNumberChanged | TMulticastDelegate_TwoParams< void, int32 TakeNumber, UTakeMetaData *TakeMetaData > | TakeMetaData.h | |
| FOnTakeSlateChanged | TMulticastDelegate_TwoParams< void, const FString &SlateName, UTakeMetaData *TakeMetaData > | TakeMetaData.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AssetRegistryTag_Description | const FName | The asset registry tag that contains the user-description for this meta-data | TakeMetaData.h |
| AssetRegistryTag_LevelPath | const FName | The asset registry tag that contains the level-path for this meta-data | TakeMetaData.h |
| AssetRegistryTag_Slate | const FName | The asset registry tag that contains the slate for this meta-data | TakeMetaData.h |
| AssetRegistryTag_TakeNumber | const FName | The asset registry tag that contains the take number for this meta-data | TakeMetaData.h |
| AssetRegistryTag_TimecodeIn | const FName | The asset registry tag that contains the timecode in for this meta-data | TakeMetaData.h |
| AssetRegistryTag_TimecodeOut | const FName | The asset registry tag that contains the timecode out for this meta-data | TakeMetaData.h |
| AssetRegistryTag_Timestamp | const FName | The asset registry tag that contains the timestamp for this meta-data | TakeMetaData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFrameRateFromTimecode | bool | Whether or not we get or frame rate from Timecode, default to true | TakeMetaData.h | |
| bIsLocked | bool | Whether the take is locked | TakeMetaData.h | |
| Description | FString | A user-provided description for the take | TakeMetaData.h |
|
| Duration | FFrameTime | The desired duration for the take | TakeMetaData.h |
|
| FrameRate | FFrameRate | The frame rate the take was recorded at. We default to 60fps. | TakeMetaData.h | |
| LevelOrigin | TSoftObjectPtr< ULevel > | The level map used to create this recording | TakeMetaData.h | |
| PresetOrigin | TSoftObjectPtr< UTakePreset > | The preset that the take was based off | TakeMetaData.h |
|
| Slate | FString | The user-provided slate information for the take | TakeMetaData.h |
|
| TakeNumber | int32 | The take number | TakeMetaData.h | |
| TimecodeIn | FTimecode | The timecode at the start of recording | TakeMetaData.h | |
| TimecodeOut | FTimecode | The timecode at the end of recording | TakeMetaData.h | |
| Timestamp | FDateTime | The timestamp at which the take was initiated | TakeMetaData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Extend the default ULevelSequence asset registry tag meta-data | TakeMetaData.h | ||
virtual void ExtendAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
TakeMetaData.h | ||
FString GenerateAssetPath
(
const FString& PathFormatString, |
Generate the desired asset path for this take meta-data | TakeMetaData.h |
|
FString GetDescription() |
TakeMetaData.h |
|
|
FFrameTime GetDuration() |
TakeMetaData.h |
|
|
FFrameRate GetFrameRate() |
TakeMetaData.h |
|
|
bool GetFrameRateFromTimecode() |
TakeMetaData.h |
|
|
ULevel * GetLevelOrigin() |
TakeMetaData.h |
|
|
FString GetLevelPath() |
TakeMetaData.h |
|
|
UTakePreset * GetPresetOrigin() |
TakeMetaData.h |
|
|
const FString & GetSlate() |
TakeMetaData.h |
|
|
int32 GetTakeNumber() |
TakeMetaData.h |
|
|
FTimecode GetTimecodeIn() |
TakeMetaData.h |
|
|
FTimecode GetTimecodeOut() |
TakeMetaData.h |
|
|
FDateTime GetTimestamp() |
TakeMetaData.h |
|
|
bool IsLocked() |
Check whether this take is locked | TakeMetaData.h |
|
void Lock() |
Lock this take, causing it to become read-only | TakeMetaData.h |
|
FNamingTokenResultData ProcessTokens
(
const FText& InText, |
Process TakeRecorder Naming Tokens. | TakeMetaData.h | |
bool Recorded() |
Check if this take was recorded (as opposed to being setup for recording) | TakeMetaData.h |
|
void SetDescription
(
FString InDescription |
Set this take's user-provided description : Only valid for takes that have not been locked | TakeMetaData.h |
|
void SetDuration
(
FFrameTime InDuration |
Set this take's duration : Only valid for takes that have not been locked | TakeMetaData.h |
|
void SetFrameRate
(
FFrameRate InFrameRate |
Set this take's frame-rate : Only valid for takes that have not been locked | TakeMetaData.h |
|
void SetFrameRateFromTimecode
(
bool InFromTimecode |
Set if we get frame rate from time code | TakeMetaData.h |
|
void SetLevelOrigin
(
ULevel* InLevelOrigin |
Set the map used to create this recording | TakeMetaData.h |
|
void SetPresetOrigin
(
UTakePreset* InPresetOrigin |
Set the preset on which the take is based : Only valid for takes that have not been locked | TakeMetaData.h |
|
| Set the slate for this take and reset its take number to 1 | TakeMetaData.h |
|
|
void SetTakeNumber
(
int32 InTakeNumber, |
Set this take's take number. | TakeMetaData.h |
|
void SetTimecodeIn
(
FTimecode InTimecodeIn |
Set this take's timecode in : Only valid for takes that have not been locked | TakeMetaData.h |
|
void SetTimecodeOut
(
FTimecode InTimecodeOut |
Set this take's timecode out : Only valid for takes that have not been locked | TakeMetaData.h |
|
void SetTimestamp
(
FDateTime InTimestamp |
Set this take's timestamp : Only valid for takes that have not been locked | TakeMetaData.h |
|
bool TryGenerateRootAssetPath
(
const FString& PathFormatString, |
Attempt to generate the root asset path. | TakeMetaData.h | |
void Unlock() |
Unlock this take if it is read-only, allowing it to be modified once again | TakeMetaData.h |
|
Overridden from IMovieSceneMetaDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExtendAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Extend the default ULevelSequence asset registry tags | TakeMetaData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UTakeMetaData * CreateFromDefaults
(
UObject* Outer, |
Create a new meta-data object from the project defaults | TakeMetaData.h | |
static UTakeMetaData * GetConfigInstance() |
Access the global config instance that houses default settings for take meta data for a given project | TakeMetaData.h | |
static UTakeMetaData * GetMostRecentMetaData() |
Retrieve the most recent or active take metadata. | TakeMetaData.h | |
static FOnTakeNumberChanged & OnTakeNumberChanged() |
Multicast delegate emitted when take number is changed. | TakeMetaData.h | |
static FOnTakeSlateChanged & OnTakeSlateChanged() |
Multicast delegate emitted when the slate is changed. | TakeMetaData.h | |
static void SetMostRecentMetaData
(
UTakeMetaData* InMetaData |
Update the most recent accessed metadata. | TakeMetaData.h |