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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback