Navigation
API > API/Plugins > API/Plugins/ChaosFleshEngine > API/Plugins/ChaosFleshEngine/ChaosCache > API/Plugins/ChaosFleshEngine/ChaosCache/FFleshCacheAdapter
- FComponentCacheAdapter::GetDesiredClass()
- FFleshCacheAdapter::GetDesiredClass()
References
| Module | ChaosFleshEngine |
| Header | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Public/ChaosCache/FleshComponentCacheAdapter.h |
| Include | #include "ChaosCache/FleshComponentCacheAdapter.h" |
| Source | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshEngine/Private/ChaosCache/FleshComponentCacheAdapter.cpp |
virtual UClass &42; GetDesiredClass&40;&41; const
Remarks
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