UProperty::ConvertFromType

Allows a property to implement backwards compatibility handling for tagged properties

Windows
MacOS
Linux

Override Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Source

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

Syntax

virtual EConvertFromTypeResult ConvertFromType
(
    const FPropertyTag & Tag,
    FStructuredArchive::FSlot Slot,
    uint8 * Data,
    UStruct * DefaultsStruct
)

Remarks

Allows a property to implement backwards compatibility handling for tagged properties

Returns

A state which tells the tagged property system how the property dealt with the data. Converted: the function has handled the tag. CannotConvert: the tag is not something that the property can convert. UseSerializeItem: no conversion was done on the property - this can mean that the tag is correct and normal serialization applies or that the tag is incompatible.

Parameters

Parameter

Description

Tag

property tag of the loading data

Ar

the archive the data is being loaded from

Data

DefaultsStruct

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback