FObjectEditorUtils::MigratePropertyValue

Copy the value of a property from source object to a destination object.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ObjectEditorUtils.h

Include

#include "ObjectEditorUtils.h"

Syntax

namespace FObjectEditorUtils
{
    template<typename SourceType, typename DestinationType>
    bool FObjectEditorUtils::MigratePropertyValue
    (
        SourceType * SourceObject,
        FName SourcePropertyName,
        DestinationType * DestinationObject,
        FName DestinationPropertyName
    )
}

Remarks

Copy the value of a property from source object to a destination object.

Returns

true if the value was successfully migrated.

Parameters

Parameter

Description

SourceObject

The object to copy the property value from.

SourcePropertyName

The name of the property on the SourceObject to copy the value from.

DestinationObject

The object to copy the property value to.

DestinationPropertyName

The name of the property on the DestinationObject to copy the value to.

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