UStruct::IsChildOf

Returns true if this struct either is SomeBase, or is a child of SomeBase.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Syntax

bool IsChildOf
(
    const UStruct * SomeBase
) 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

Returns

true if this object is of the specified type.

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