| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/ChaosCache.h |
Include |
#include "Chaos/ChaosCache.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Experimental)
class UChaosCache : public UObject
Name | Description | ||
---|---|---|---|
|
CurveData |
Per component/cache curve data, any continuous data that isn't per-particle can be stored here |
|
|
NumRecordedFrames |
||
|
ParticleTracks |
Per-particle data, includes transforms, velocities and other per-particle, per-frame data |
|
|
float |
RecordedDuration |
|
|
TrackToParticle |
Maps a track index in the cache to the original particle index specified when recording |
Name | Description | |
---|---|---|
|
UChaosCache() |
Name | Description | ||
---|---|---|---|
|
AddFrame_Concurrent ( |
Adds a new frame to process to a threadsafe queue for later processing in FlushPendingFrames |
|
|
FCacheUserTo... |
BeginPlayback() |
Initialise the cache for playback, may not take any actual action on the cache but will provide the caller with a valid cache user token if it is safe to continue with playback |
|
FCacheUserTo... |
BeginRecord ( |
Reset and initialize a cache to make it ready to record the specified component |
|
BuildSpawnableFromComponent ( |
Initializes the spawnable template from a currently existing component so it can be spawned by the editor when a cache is dragged into the scene. |
|
|
EndPlayback ( |
End a playback session for the cache. |
|
|
EndRecord ( |
End the recording session for the cache. |
|
|
FCacheEvalua... |
Evaluate ( |
Evaluate the cache with the specified parameters, returning the evaluated results |
|
EvaluateCurves ( |
||
|
EvaluateEvents ( |
||
|
EvaluateSingle ( |
Evaluates a single particle from the tracks array |
|
|
EvaluateTransform ( |
||
|
FCacheEventT... |
FindOrAddEventTrack ( |
|
|
FlushPendingFrames() |
As we record post-simulate of physics, we're almost always taking data from a non-main thread (physics thread). |
|
|
float |
GetDuration() |
Gets the recorded duration of the cache |
|
const FCache... |
GetSpawnableTemplate() |
Read access to the spawnable template stored in the cache |