Navigation
API > API/Plugins > API/Plugins/ChaosCaching > API/Plugins/ChaosCaching/FGeometryCollectionCacheAdapter
Description
Query the class that this adapter wants to drive. This will be used to work out the most likely candidate for an adapter when multiple adapters return SupportType::Derived. For example in the following hierarchy: UPrimitiveComponent
|UDerivedComponentA
|UDerivedComponentB
An adapter directly supporing UDerivedComponentA that returns SupportType::Derived for a class of UDerivedComponentB will be picked over an adapter that directly supports UPrimitiveComponent and returns SupportType::Derived for a class of UDerivedComponentB
Note: All classes returned from this MUST have UPrimitiveComponent in their hierarchy as that is the base physically-capable component
Virtual Inheritance
- FComponentCacheAdapter::GetDesiredClass → FGeometryCollectionCacheAdapter::GetDesiredClass
| Name | GetDesiredClass |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
| Include Path | #include "Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h" |
| Source | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/Adapters/GeometryCollectionComponentCacheAdapter.cpp |
virtual UClass * GetDesiredClass() const