Navigation
API > API/Plugins > API/Plugins/ChaosCaching > API/Plugins/ChaosCaching/FStaticMeshCacheAdapter
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.
Virtual Inheritance
- FComponentCacheAdapter::ValidForPlayback → FStaticMeshCacheAdapter::ValidForPlayback
| Name | ValidForPlayback |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/StaticMeshComponentCacheAdapter.h |
| Include Path | #include "Chaos/Adapters/StaticMeshComponentCacheAdapter.h" |
| Source | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/Adapters/StaticMeshComponentCacheAdapter.cpp |
virtual bool ValidForPlayback
(
UPrimitiveComponent * InComponent,
UChaosCache * InCache
) const
Parameters
| Name | Remarks |
|---|---|
| InComponent | Target component attempting playback. |
| InCache | Requested cache to playback. |