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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback