FClassProperty::SetMetaClass

Setter function for this property's MetaClass member.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Source

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

Syntax

void SetMetaClass
(
    UClass * NewMetaClass
)

Remarks

Setter function for this property's MetaClass member. Favor this function whilst loading (since, to handle circular dependencies, we defer some class loads and use a placeholder class instead). It properly handles deferred loading placeholder classes (so they can properly be replaced later).

Parameters

Parameter

Description

NewMetaClass

The MetaClass you want this property set with.