Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FObjectPropertyBase
Description
Setter function for this property's PropertyClass 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).
| Name | SetPropertyClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyBaseObject.cpp |
void SetPropertyClass
(
UClass * NewPropertyClass
)
Parameters
| Name | Remarks |
|---|---|
| NewPropertyClass | The PropertyClass you want this property set with. |