Navigation
Unreal Engine C++ API Reference > Plugins > ChaosCaching > Chaos > Adapters > FStaticMeshCacheAdapter
- FComponentCacheAdapter::ValidForPlayback()
- FStaticMeshCacheAdapter::ValidForPlayback()
References
Module | ChaosCaching |
Header | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/StaticMeshComponentCacheAdapter.h |
Include | #include "Chaos/Adapters/StaticMeshComponentCacheAdapter.h" |
Source | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/Adapters/StaticMeshComponentCacheAdapter.cpp |
virtual bool ValidForPlayback
&40;
UPrimitiveComponent &42; InComponent,
UChaosCache &42; InCache
&41; const
Remarks
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.
Parameters
Name | Description |
---|---|
InComponent | Target component attempting playback. |
InCache | Requested cache to playback. |