IDetailCategoryBuilder::AddProperty

Adds a property, shown in the default way to the category

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

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

Include

#include "DetailCategoryBuilder.h"

Syntax

IDetailPropertyRow & AddProperty
(
    FName PropertyPath,
    UClass * ClassOutermost,
    FName InstanceName,
    EPropertyLocation::Type Location
)

Remarks

Adds a property, shown in the default way to the category

Parameters

Parameter

Description

Path

The path to the property. Can be just a name of the property or a path in the format outer.outer.value[optional_index_for_static_arrays]

ClassOutermost

Optional outer class if accessing a property outside of the current class being customized

InstanceName

Optional instance name if multiple FProperty's of the same type exist. such as two identical structs, the instance name is one of the struct variable names)

Location

The location within the category where the property is shown See IDetailCategoryBuilder::GetProperty for clarification of parameters

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