| IModularFeature
|
Module |
|
Header |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/CacheAdapter.h |
Include |
#include "Chaos/Adapters/CacheAdapter.h" |
class FComponentCacheAdapter : public IModularFeature
Base adapter type for interfacing with Chaos simulation caches. Any component wishing to use caches must have a compatible record adapter and a playback adapter to produce and consume cache data.
This base interface should not be used to implement those adapters however but the derived classes FCacheRecordAdapter and FCachePlaybackAdapter (declared below) should instead be used.
Name | Description | |
---|---|---|
|
FComponentCacheAdapter() |
Name | Description | |
---|---|---|
|
~FComponentCacheAdapter() |
Name | Description | ||
---|---|---|---|
|
Chaos::FPhys... |
GetComponentSolver ( |
Called to retrieve the solver for a specific component. |
|
UClass * |
GetDesiredClass() |
Query the class that this adapter wants to drive. |
|
GetGuid() |
Gets a unique identifier for the adapter |
|
|
GetPriority() |
Gets the priority for an adapter. |
|
|
InitializeForPlayback ( |
Called from the game thread to initialize a component and cache ready to playback a cache |
|
|
InitializeForRecord ( |
Called from the game thread to initialize a component and cache ready to record a cache |
|
|
Playback_PreSolve ( |
Called by a cache observer actor when a cache needs to be applied to a component through this adapter. |
|
|
Record_PostSolve ( |
Called by a cache observer when a component should be recorded to a cache through this adapter. |
|
|
SupportsComponentClass ( |
Query whether InComponentClass can be driven by this adapter. |
|
|
ValidForPlayback ( |
Determines whether a cache is able to safely playback on a component. |
Name |
Description |
|
---|---|---|
|
SupportType |
Name |
Description |
---|---|
EngineAdapterPriotityBegin |
|
FeatureName |
Registration name for modular features module |
UserAdapterPriotityBegin |