UClass::FindCommonBase

Finds the common base class that parents the two classes passed in.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

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

Syntax

static UClass * FindCommonBase
(
    UClass * InClassA,
    UClass * InClassB
)

Remarks

Finds the common base class that parents the two classes passed in.

Returns

the common base class or NULL

Parameters

Parameter

Description

InClassA

the first class to find the common base for

InClassB

the second class to find the common base for

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