Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine > API/Plugins/ChaosFleshEngine/ChaosCache
Inheritance Hierarchy
- IModularFeature
- FComponentCacheAdapter
- FFleshCacheAdapter
References
| Module | ChaosFleshEngine |
| Header | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosCache/FleshComponentCacheAdapter.h |
| Include | #include "ChaosCache/FleshComponentCacheAdapter.h" |
Syntax
class FFleshCacheAdapter : public Chaos::FComponentCacheAdapter
Remarks
Skeletal mesh cache adapter to be able to cache cloth simulation datas through the chaos cache system
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDeformableSolver * | GetDeformableSolver
(
UPrimitiveComponent* InComponent |
Overridden from FComponentCacheAdapter
| Type | Name | Description | |
|---|---|---|---|
| Chaos::FPhysicsSolverEvents * | BuildEventsSolver
(
UPrimitiveComponent* InComponent |
Called to retrieve the base events solver for a specific component. | |
| Chaos::FPhysicsSolver * | GetComponentSolver
(
UPrimitiveComponent* InComponent |
Called to retrieve the rigid solver for a specific component if it exists. | |
| UClass * | Query the class that this adapter wants to drive. | ||
| FGuid | GetGuid () |
Gets a unique identifier for the adapter | |
| uint8 | GetPriority () |
Gets the priority for an adapter. | |
| bool | InitializeForPlayback
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to playback a cache | |
| bool | InitializeForRecord
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to record a cache | |
| void | Playback_PreSolve
(
UPrimitiveComponent* InComponent, |
Called by a cache observer actor when a cache needs to be applied to a component through this adapter. | |
| void | Record_PostSolve
(
UPrimitiveComponent* InComp, |
Called by a cache observer when a component should be recorded to a cache through this adapter. | |
| void | SetRestState
(
UPrimitiveComponent* InComponent, |
Called from the game thread to set rest state from an evaluated time in the cache. | |
| SupportType | SupportsComponentClass
(
UClass* InComponentClass |
Query whether InComponentClass can be driven by this adapter. | |
| bool | ValidForPlayback
(
UPrimitiveComponent* InComponent, |
Determines whether a cache is able to safely playback on a component. |
Typedefs
| Name | Description |
|---|---|
| FDeformableSolver | |
| FEvolution | |
| FParticles |
Constants
| Name | Description |
|---|---|
| PositionXName | |
| PositionYName | |
| PositionZName | |
| VelocityXName | |
| VelocityYName | |
| VelocityZName |