| FComponentCacheAdapter::SupportsComponentClass()
|
Module |
|
Header |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h |
Include |
#include "Chaos/Adapters/GeometryCollectionComponentCacheAdapter.h" |
Source |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/Adapters/GeometryCollectionComponentCacheAdapter.cpp |
virtual SupportType SupportsComponentClass
(
UClass * InComponentClass
) const
Query whether InComponentClass can be driven by this adapter. If a class implementing this interface says it can support a component it may be chosen as the driving adapter for that component and will be expeted to be able to handle Pull/Push operations if it is chosen.
If the adapter returns SupportType::Derived and another adapter returns SupportType::Direct then the adapter that can directly drive the class is chosen to drive the cache. If multiple adapters return SupportType::Direct then the first is chosen. If multiple adapters return SupportType::Derived then the adapter with the closest desired class will be chosen (closest in terms of inheritance hierarchy between the desired direct class and the provided class)
If the adapter can only handle one specific type then only using SupportType::Direct and SupportType::None will make sure it only receives calls from the cache if exactly that component class is selected
the type of support this adapter can give for the specified class
Parameter |
Description |
---|---|
InComponent |
the component class to test |