Navigation
Unreal Engine C++ API Reference > Plugins > ChaosCaching > Chaos
References
Module | ChaosCaching |
Header | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/CacheEvents.h |
Include | #include "Chaos/CacheEvents.h" |
Syntax
USTRUCT&40;&41;
struct FCacheEventTrack
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< uint8 * > | EventData | |
![]() ![]() |
FName | Name | |
![]() ![]() |
TObjectPtr< UScriptStruct > | Struct | Type of the event stored in this track. |
![]() ![]() |
TArray< float > | TimeStamps |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FCacheEventTrack
(
FName InName, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | DestroyAll () |
Because the memory management for this track is manual, Destroy all will destroy the stored structs correctly |
![]() |
T * | GetEvent
(
int32 Index |
|
![]() |
FHandle | GetEventHandle
(
int32 Index |
Get a handle to an event that can easily resolve the inner event type without knowing the track |
![]() |
TArray< T * > | GetEvents
(
float T0, |
|
![]() ![]() |
int32 | The transient version changes whenever the size of the event array changes and invalidates all old event handles | |
![]() |
void | Merge
(
FCacheEventTrack&& Other |
Merge the events from another track, leaving the other empty. |
![]() ![]() |
int32 | Num () |
|
![]() |
void | PushEvent
(
float TimeStamp, |
Pushes an event to the track, this will perform a copy of the event and store it inside the track |
![]() |
bool | Custom serialize handles generic event serialization |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FHandle |