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.

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