Navigation
API > API/Plugins > API/Plugins/ChaosCaching
| Name | FGeometryCollectionCacheAdapter |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
| Include Path | #include "Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h" |
Syntax
class FGeometryCollectionCacheAdapter : public Chaos::FComponentCacheAdapter
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FGeometryCollectionCacheAdapter() |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FSolverEventPair | TPair< Chaos::FPhysicsSolver *, Chaos::EEventType > | List of the solvers we are currently listening for events for recording we need to track them because each of them owns a seperate unique event manager | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BreakingDataArray | const FBreakingDataArray * | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
| CachedData | TMap< IPhysicsProxyBase *, FCachedEventData > | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
| CollisionDataArray | const FCollisionDataArray * | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
| SolversListenedToForEvents | TSet< FSolverEventPair > | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
| TrailingDataArray | const FTrailingDataArray * | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.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/GeometryCollectionComponentCacheAdapter.h | |
virtual void FinalizeComponent
(
UPrimitiveComponent* InComponent, |
Called from the game thread to finalize for a specific component | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual Chaos::FPhysicsSolver * GetComponentSolver
(
UPrimitiveComponent* InComponent |
Called to retrieve the rigid solver for a specific component if it exists. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual UClass * GetDesiredClass () |
Query the class that this adapter wants to drive. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
| Gets a unique identifier for the adapter | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
virtual uint8 GetPriority () |
Gets the priority for an adapter. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual bool InitializeForPlayback
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to playback a cache | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual bool InitializeForRecord
(
UPrimitiveComponent* InComponent, |
Called from the game thread to initialize a component and cache ready to record a cache | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.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/GeometryCollectionComponentCacheAdapter.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/GeometryCollectionComponentCacheAdapter.h | |
virtual void SetRestState
(
UPrimitiveComponent* InComponent, |
Called from the game thread to set rest state from an evaluated time in the cache. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual SupportType SupportsComponentClass
(
UClass* InComponentClass |
Query whether InComponentClass can be driven by this adapter. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | |
virtual bool ValidForPlayback
(
UPrimitiveComponent* InComponent, |
Determines whether a cache is able to safely playback on a component. | Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleBreakingEvents
(
const Chaos::FBreakingEventData& Event |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
void HandleCollisionEvents
(
const Chaos::FCollisionEventData& Event |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
void HandleTrailingEvents
(
const Chaos::FTrailingEventData& Event |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
void RegisterEventHandler
(
FGeometryCollectionPhysicsProxy* Proxy |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h | ||
void UnregisterEventHandler
(
FGeometryCollectionPhysicsProxy* Proxy |
Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |