Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UStruct > IsChildOf
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include | #include "UObject/Class.h" |
bool IsChildOf
&40;
const UStruct &42; SomeBase
&41; const
Remarks
Returns true if this struct either is SomeBase, or is a child of SomeBase. This will not crash on null structsReturns true if this struct either is class T, or is a child of class T. This will not crash on null structs