UGeometryCollectionCache

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGeometryCollectionCache

References

Module

GeometryCollectionEngine

Header

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionCache.h

Include

#include "GeometryCollection/GeometryCollectionCache.h"

Syntax

class UGeometryCollectionCache : public UObject

Functions

Name Description

Public function

bool

 

CompatibleWithForPlayback

(
    const UGeometryCollection* InC...
)

Public function

bool

 

CompatibleWithForRecord

(
    const UGeometryCollection* InC...
)

Tests whether a cache is compatible with a provided collection

Public function Static

UGeometryCol...

 

CreateCacheForCollection

(
    const UGeometryCollection* InC...
)

Given a collection, create an empty compatible cache for it

Public function Const

FGuid

 

GetCompatibleStateGuid()

Get the GUID for the state of the supported collection when this cache was last recorded to.

Public function Const

const FRecor...

 

GetData()

End UObject Interface Access the recorded tracks

Public function

void

 

SetFromRawTrack

(
    const FRecordedTransformTrack& InT...
)

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.)

Public function

void

 

SetFromTrack

(
    const FRecordedTransformTrack& InT...
)

Set directly from a track, does not do any data stripping.

Public function

void

 

SetSupportedCollection

(
    const UGeometryCollection* InC...
)

Sets the geometry collection that this cache supports, empties the recorded data in this cache

Overridden from UObject

Name Description

Public function Virtual Const

void

 

GetAssetRegistryTags

(
    TArray< FAssetRegistryTag >& OutTa...
)

UObject Interface

Constants

Name

Description

TagName_IdGuid

TagName_Name

Tagnames for asset registry tags

TagName_StateGuid

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss