FGeometryCollectionCacheAdapter::SupportsComponentClass

Query whether InComponentClass can be driven by this adapter.

Windows
MacOS
Linux

Override Hierarchy

FComponentCacheAdapter::SupportsComponentClass()

FGeometryCollectionCacheAdapter::SupportsComponentClass()

References

Module

ChaosCaching

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

Syntax

virtual SupportType SupportsComponentClass
(
    UClass * InComponentClass
) const

Remarks

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

Returns

the type of support this adapter can give for the specified class

Parameters

Parameter

Description

InComponent

the component class to test

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss