Navigation
API > API/Plugins > API/Plugins/ChaosCaching > API/Plugins/ChaosCaching/FComponentCacheAdapter
Description
Determines whether a cache is able to safely playback on a component. After the GUID for an adapter is validated this check will be called from the game thread to ensure an adapter is able to safely play back for the provided component.
Derived Overrides
| Name | ValidForPlayback |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/CacheAdapter.h |
| Include Path | #include "Chaos/Adapters/CacheAdapter.h" |
bool ValidForPlayback
(
UPrimitiveComponent * InComponent,
UChaosCache * InCache
) const
Parameters
| Name | Remarks |
|---|---|
| InComponent | Target component attempting playback. |
| InCache | Requested cache to playback. |