FAutomationEditorCommonUtils::ApplyCustomFactorySetting

Applies settings to an object by finding UProperties by name and calling ImportText

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorCommon.h

Include

#include "Tests/AutomationEditorCommon.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tests/AutomationEditorCommon.cpp

Syntax

static void ApplyCustomFactorySetting
(
    UObject * InObject,
    TArray< FString > & PropertyChain,
    const FString & Value
)

Remarks

Applies settings to an object by finding UProperties by name and calling ImportText

Parameters

Parameter

Description

InObject

The object to search for matching properties

PropertyChain

The list FProperty names recursively to search through

Value

The value to import on the found property

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