UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollectionCache.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
8#include "GeometryCollectionCache.generated.h"
9
11
13
14UCLASS(Experimental, MinimalAPI)
16{
18
19public:
20
22 static GEOMETRYCOLLECTIONENGINE_API FName TagName_Name; // Name of the cache
23 static GEOMETRYCOLLECTIONENGINE_API FName TagName_IdGuid; // ID GUID for the cache - never changes for a given cache
24 static GEOMETRYCOLLECTIONENGINE_API FName TagName_StateGuid; // State GUID - changes when an edit is made to
25
31
34
36 GEOMETRYCOLLECTIONENGINE_API void SetSupportedCollection(const UGeometryCollection* InCollection);
37
40 UE_DEPRECATED(5.4, "Implement the version that takes FAssetRegistryTagsContext instead.")
45 const FRecordedTransformTrack* GetData() const { return &RecordedData; }
46
49
51 FGuid GetCompatibleStateGuid() const { return CompatibleCollectionState; }
52
54 GEOMETRYCOLLECTIONENGINE_API bool CompatibleWithForRecord(const UGeometryCollection* InCollection);
55 GEOMETRYCOLLECTIONENGINE_API bool CompatibleWithForPlayback(const UGeometryCollection* InCollection);
56
57private:
58
59 GEOMETRYCOLLECTIONENGINE_API void ProcessRawRecordedDataInternal(const FRecordedTransformTrack& InTrack);
60
62 UPROPERTY()
63 FRecordedTransformTrack RecordedData;
64
66 UPROPERTY()
67 TObjectPtr<const UGeometryCollection> SupportedCollection;
68
70 UPROPERTY()
71 FGuid CompatibleCollectionState;
72
73};
74
81{
82public:
83 static FName GetFeatureName() { return "GeometryCollectionTargetCacheProvider"; }
85};
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
auto GetData(const TStringConversion< Converter, DefaultConversionSize > &Conversion) -> decltype(Conversion.Get())
Definition StringConv.h:802
Definition AssetRegistryTagsContext.h:98
Definition NameTypes.h:617
Definition IModularFeature.h:12
Definition GeometryCollectionCache.h:81
virtual UGeometryCollectionCache * GetCacheForCollection(const UGeometryCollection *InCollection)=0
static FName GetFeatureName()
Definition GeometryCollectionCache.h:83
Definition Array.h:670
Definition GeometryCollectionCache.h:16
FGuid GetCompatibleStateGuid() const
Definition GeometryCollectionCache.h:51
static GEOMETRYCOLLECTIONENGINE_API FName TagName_Name
Definition GeometryCollectionCache.h:22
static GEOMETRYCOLLECTIONENGINE_API FName TagName_IdGuid
Definition GeometryCollectionCache.h:23
static GEOMETRYCOLLECTIONENGINE_API FName TagName_StateGuid
Definition GeometryCollectionCache.h:24
Definition GeometryCollectionObject.h:393
Definition Object.h:95
virtual COREUOBJECT_API void GetAssetRegistryTags(FAssetRegistryTagsContext Context) const
Definition Obj.cpp:2423
Definition RobinHoodHashTable.h:18
Definition Guid.h:109
Definition RecordedTransformTrack.h:273
Definition ObjectPtr.h:488
Definition Object.h:827