UObjectBaseUtility::IsInA

Find out if this object is inside (has an outer) that is of the specified class

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectBaseUtility.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp

Syntax

bool IsInA
(
    const UClass * SomeBaseClass
) const

Remarks

Find out if this object is inside (has an outer) that is of the specified class

Returns

True if this object is in an object of the given type.

Parameters

Parameter

Description

SomeBaseClass

The base class to compare against

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