IDetailLayoutBuilder::AddObjectPropertyData

Adds an external object's property to this details panel's PropertyMap.

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/DetailLayoutBuilder.h

Include

#include "DetailLayoutBuilder.h"

Syntax

TSharedPtr< IPropertyHandle > AddObjectPropertyData
(
    TConstArrayView< UObject * > Objects,
    FName PropertyName
)

Remarks

Adds an external object's property to this details panel's PropertyMap. Allows getting the property handle for the property without having to generate a row widget.

Returns

The property handle created tied to generated property node.

Parameters

Parameter

Description

Objects

List of objects that contain the property.

PropertyName

Name of the property to generate a node from.

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