Navigation
API > API/Editor > API/Editor/ScriptableEditorWidgets
The single property view allows you to display the value of an object's property.
| Name | USinglePropertyView |
| Type | class |
| Header File | /Engine/Source/Editor/ScriptableEditorWidgets/Public/Components/SinglePropertyView.h |
| Include Path | #include "Components/SinglePropertyView.h" |
Syntax
UCLASS (MinimalAPI)
class USinglePropertyView : public UPropertyViewBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UPropertyViewBase → USinglePropertyView
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NameOverride | FText | Override for the property name that will be displayed instead of the property name. | Components/SinglePropertyView.h |
|
| PropertyName | FName | The name of the property to display. | Components/SinglePropertyView.h |
|
| SinglePropertyViewWidget | TSharedPtr< ISinglePropertyView > | Components/SinglePropertyView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetNameOverride() |
Components/SinglePropertyView.h |
|
|
FName GetPropertyName() |
Components/SinglePropertyView.h |
|
|
void SetNameOverride
(
FText NewPropertyName |
Components/SinglePropertyView.h |
|
|
void SetPropertyName
(
FName NewPropertyName |
Components/SinglePropertyView.h |
|
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/SinglePropertyView.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Components/SinglePropertyView.h |
Protected
Overridden from UPropertyViewBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContentWidget() |
Components/SinglePropertyView.h | ||
virtual void OnObjectChanged() |
Components/SinglePropertyView.h |