IBlueprintNativeCodeGenCore::FindReplacedClassForObject

Function used to change the type of a class from, say, [UBlueprintGeneratedClass](API\Runtime\Engine\Engine\UBlueprintGeneratedClass) to [UDynamicClass](API\Runtime\CoreUObject\UObject\UDynamicClass).

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Blueprint/BlueprintSupport.h

Include

#include "Blueprint/BlueprintSupport.h"

Syntax

UClass * FindReplacedClassForObject
(
    const UObject * Object,
    const FCompilerNativizationOptions & NativizationOptions
) const

Remarks

Function used to change the type of a class from, say, UBlueprintGeneratedClass to UDynamicClass. Cooking (and conversion in general) must be order independent so The scope of this kind of type swap is limited.

Returns

A replacement class ptr, null if none

Parameters

Parameter

Description

Object

whose class will be replaced

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