Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UStruct
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsChildOf () |
Returns true if this struct either is class T, or is a child of class T. | UObject/Class.h | |
| Returns true if this struct either is SomeBase, or is a child of SomeBase. | UObject/Class.h |
IsChildOf()
Description
Returns true if this struct either is class T, or is a child of class T. This will not crash on null structs
| Name | IsChildOf |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
template<class T>
bool IsChildOf() const
IsChildOf(const UStruct *)
Description
Returns true if this struct either is SomeBase, or is a child of SomeBase. This will not crash on null structs
| Name | IsChildOf |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
bool IsChildOf
(
const UStruct * SomeBase
) const
true if this object is of the specified type.