Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObjectBaseUtility
Description
Returns a pointer to this object safely converted to a pointer of the specified interface class.
Returns a pointer to this object safely converted to a pointer to the specified interface class.
| Name | GetInterfaceAddress |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h |
| Include Path | #include "UObject/UObjectBaseUtility.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp |
void * GetInterfaceAddress
(
UClass * InterfaceClass
)
a pointer that can be assigned to a variable of the interface type specified, or NULL if this object's class doesn't implement the interface indicated. Will be the same value as 'this' if the interface class isn't native.
Parameters
| Name | Remarks |
|---|---|
| InterfaceClass | the interface class to use for the returned type |
| InterfaceClass | the interface class to use for the returned type |