Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
| Name | UGeometryCollectionCache |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionCache.h |
| Include Path | #include "GeometryCollection/GeometryCollectionCache.h" |
Syntax
UCLASS (Experimental, MinimalAPI)
class UGeometryCollectionCache : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGeometryCollectionCache
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TagName_IdGuid | FName | GeometryCollection/GeometryCollectionCache.h | |
| TagName_Name | FName | Tagnames for asset registry tags | GeometryCollection/GeometryCollectionCache.h |
| TagName_StateGuid | FName | GeometryCollection/GeometryCollectionCache.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompatibleCollectionState | FGuid | Guid pulled from the collection when the recording was last saved | GeometryCollection/GeometryCollectionCache.h | |
| RecordedData | FRecordedTransformTrack | The recorded data from the simulation | GeometryCollection/GeometryCollectionCache.h | |
| SupportedCollection | TObjectPtr< const UGeometryCollection > | The collection that we recorded the data from | GeometryCollection/GeometryCollectionCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CompatibleWithForPlayback
(
const UGeometryCollection* InCollection |
GeometryCollection/GeometryCollectionCache.h | ||
bool CompatibleWithForRecord
(
const UGeometryCollection* InCollection |
Tests whether a cache is compatible with a provided collection | GeometryCollection/GeometryCollectionCache.h | |
FGuid GetCompatibleStateGuid() |
Get the GUID for the state of the supported collection when this cache was last recorded to. | GeometryCollection/GeometryCollectionCache.h | |
const FRecordedTransformTrack * GetData() |
End UObject Interface Access the recorded tracks | GeometryCollection/GeometryCollectionCache.h | |
void SetFromRawTrack
(
const FRecordedTransformTrack& InTrack |
Given a raw track with transforms per-particle on each frame record, set to this cache and strip out any data we don't need (transform repeats and disabled particles etc.) | GeometryCollection/GeometryCollectionCache.h | |
void SetFromTrack
(
const FRecordedTransformTrack& InTrack |
Set directly from a track, does not do any data stripping. | GeometryCollection/GeometryCollectionCache.h | |
void SetSupportedCollection
(
const UGeometryCollection* InCollection |
Sets the geometry collection that this cache supports, empties the recorded data in this cache | GeometryCollection/GeometryCollectionCache.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
UObject Interface | GeometryCollection/GeometryCollectionCache.h | |
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
GeometryCollection/GeometryCollectionCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UGeometryCollectionCache * CreateCacheForCollection
(
const UGeometryCollection* InCollection |
Given a collection, create an empty compatible cache for it | GeometryCollection/GeometryCollectionCache.h |