Navigation
API > API/Plugins > API/Plugins/ChaosCaching
| Name | FStaticMeshCacheAdapter |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/StaticMeshComponentCacheAdapter.h |
| Include Path | #include "Chaos/Adapters/StaticMeshComponentCacheAdapter.h" |
Syntax
class FStaticMeshCacheAdapter : public Chaos::FComponentCacheAdapter
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FStaticMeshCacheAdapter() |
Chaos/Adapters/StaticMeshComponentCacheAdapter.h |
Functions
Public
Overridden from FComponentCacheAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual Chaos::FPhysicsSolverEvents * BuildEventsSolver
(
UPrimitiveComponent* InComponent |
Called to retrieve the base events solver for a specific component. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual Chaos::FPhysicsSolver * GetComponentSolver
(
UPrimitiveComponent* InComponent |
Called to retrieve the rigid solver for a specific component if it exists. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual UClass * GetDesiredClass () |
Query the class that this adapter wants to drive. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
| Gets a unique identifier for the adapter | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | ||
virtual uint8 GetPriority () |
Gets the priority for an adapter. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual bool InitializeForPlayback
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to playback a cache | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual bool InitializeForRecord
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to record a cache | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual void Playback_PreSolve
(
UPrimitiveComponent* InComponent, |
Called by a cache observer actor when a cache needs to be applied to a component through this adapter. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual void Record_PostSolve
(
UPrimitiveComponent* InComp, |
Called by a cache observer when a component should be recorded to a cache through this adapter. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual void SetRestState
(
UPrimitiveComponent* InComponent, |
Called from the game thread to set rest state from an evaluated time in the cache. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual SupportType SupportsComponentClass
(
UClass* InComponentClass |
Query whether InComponentClass can be driven by this adapter. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h | |
virtual bool ValidForPlayback
(
UPrimitiveComponent* InComponent, |
Determines whether a cache is able to safely playback on a component. | Chaos/Adapters/StaticMeshComponentCacheAdapter.h |