FComponentCacheAdapter::GetDesiredClass

Query the class that this adapter wants to drive.

Windows
MacOS
Linux

Override Hierarchy

References

Module

ChaosCaching

Header

/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/CacheAdapter.h

Include

#include "Chaos/Adapters/CacheAdapter.h"

Syntax

UClass * GetDesiredClass() 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

All classes returned from this MUST have UPrimitiveComponent in their hierarchy as that is the base physically-capable component

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