UKismetSystemLibrary::SetEditorProperty

Attempts to set the value of a named property on the given object.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h

Include

#include "Kismet/KismetSystemLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp

Syntax

static bool SetEditorProperty
(
    UObject * Object,
    const FName PropertyName,
    const int32 & PropertyValue,
    const EPropertyAccessChangeNotifyMode ChangeNotifyMode
)

Remarks

Attempts to set the value of a named property on the given object.

Returns

Whether the property value was found and correctly set.

Parameters

Parameter

Description

Object

The object you want to set a property value on.

PropertyName

The name of the object property to set the value of.

PropertyValue

The property value to set.

ChangeNotifyMode

When to emit property change notifications.

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