Navigation
API > API/Plugins > API/Plugins/ChaosCaching
| Name | FParticleTransformTrack |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/ChaosCache.h |
| Include Path | #include "Chaos/ChaosCache.h" |
Syntax
USTRUCT ()
struct FParticleTransformTrack
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeactivateOnEnd | bool | If this flag is set true, the particle represented by this track deactives on the final keyframe. | Chaos/ChaosCache.h | |
| BeginOffset | float | The offset from the beginning of the cache that holds this track that the track starts | Chaos/ChaosCache.h | |
| KeyTimestamps | TArray< float > | The above raw track is just the key data and doesn't know at which time those keys are placed, this is a list of the timestamps for each entry in TransformTrack | Chaos/ChaosCache.h | |
| RawTransformTrack | FRawAnimSequenceTrack | List of all the transforms this cache cares about, recorded from the simulated transforms of the particles observed by the adapter that created the cache | Chaos/ChaosCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Compress() |
Chaos/ChaosCache.h | ||
FTransform Evaluate
(
float InCacheTime, |
Evaluates the transform track at the specified time, returning the evaluated transform. | Chaos/ChaosCache.h | |
FTransform EvaluateAt
(
int32 Index |
Evaluate the acche at a sepcific index this assumes that index is within the range of valid keys | Chaos/ChaosCache.h | |
const float GetBeginTime() |
Chaos/ChaosCache.h | ||
const float GetDuration() |
Chaos/ChaosCache.h | ||
const float GetEndTime() |
Chaos/ChaosCache.h | ||
const int32 GetNumKeys() |
Chaos/ChaosCache.h | ||
int32 GetUpperBoundEvaluationIndex
(
float InCacheTime |
Find the index the key where timestamp is directly above InCacheTime returned value is garanteed to be within the range of keys if there's any in the case there's no key in the track, 0 is returned | Chaos/ChaosCache.h |