UClass::ImplementsInterface

This will return whether or not this class implements the passed in class / interface

Choose your operating system:

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

bool ImplementsInterface
(
    const class UClass * SomeInterface
) const

Remarks

This will return whether or not this class implements the passed in class / interface

Parameters

Parameter

Description

SomeClass

the interface to check and see if this class implements it