UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SNumericPropertyValue.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Widgets/SCompoundWidget.h
"
6
#include "
Framework/PropertyViewer/PropertyPath.h
"
7
#include "
Framework/PropertyViewer/PropertyValueFactory.h
"
8
9
10
namespace
UE::PropertyViewer
11
{
12
13
class
INotifyHook;
14
16
class
SNumericPropertyValue
:
public
SCompoundWidget
17
{
18
public
:
19
static
ADVANCEDWIDGETS_API
TSharedPtr<SWidget>
CreateInstance
(
const
FPropertyValueFactory::FGenerateArgs
Args);
20
21
public
:
22
SLATE_BEGIN_ARGS
(
SNumericPropertyValue
) {}
23
SLATE_ARGUMENT
(
FPropertyPath
, Path);
24
SLATE_ARGUMENT
(
INotifyHook
*, NotifyHook);
25
SLATE_END_ARGS
()
26
27
ADVANCEDWIDGETS_API
void
Construct
(const FArguments& InArgs);
28
29
private
:
30
void
OnEndSliderMovement_uint64(
uint64
Value
);
31
void
OnEndSliderMovement_int64(
int64
Value
);
32
void
OnEndSliderMovement_double(
double
Value
);
33
uint64
GetCurrentValue_uint64() const;
34
int64
GetCurrentValue_int64() const;
35
double
GetCurrentValue_double() const;
36
void
OnValueChanged_uint64(
uint64
Value
);
37
void
OnValueChanged_int64(
int64
Value
);
38
void
OnValueChanged_double(
double
Value
);
39
void
OnValueCommitted_uint64(
uint64
Value
,
ETextCommit
::Type CommitInfo);
40
void
OnValueCommitted_int64(
int64
Value
,
ETextCommit
::Type CommitInfo);
41
void
OnValueCommitted_double(
double
Value
,
ETextCommit
::Type CommitInfo);
42
43
private
:
44
FPropertyPath
Path;
45
INotifyHook
* NotifyHook =
nullptr
;
46
};
47
48
}
//namespace
int64
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition
Platform.h:1127
uint64
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition
Platform.h:1117
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
SLATE_END_ARGS
#define SLATE_END_ARGS()
Definition
DeclarativeSyntaxSupport.h:116
PropertyPath.h
PropertyValueFactory.h
EColorPickerChannels::Value
@ Value
SCompoundWidget.h
SCompoundWidget
Definition
SCompoundWidget.h:22
TSharedPtr
Definition
SharedPointer.h:692
UE::PropertyViewer::INotifyHook
Definition
INotifyHook.h:13
UE::PropertyViewer::SNumericPropertyValue
Definition
SNumericPropertyValue.h:17
UE::PropertyViewer::SNumericPropertyValue::Construct
ADVANCEDWIDGETS_API void Construct(const FArguments &InArgs)
Definition
SNumericPropertyValue.cpp:25
UE::PropertyViewer::SNumericPropertyValue::SLATE_BEGIN_ARGS
SLATE_BEGIN_ARGS(SNumericPropertyValue)
Definition
SNumericPropertyValue.h:22
UE::PropertyViewer::SNumericPropertyValue::CreateInstance
static ADVANCEDWIDGETS_API TSharedPtr< SWidget > CreateInstance(const FPropertyValueFactory::FGenerateArgs Args)
Definition
SNumericPropertyValue.cpp:17
UE::PropertyViewer::SNumericPropertyValue::SLATE_ARGUMENT
SLATE_ARGUMENT(FPropertyPath, Path)
UE::PropertyViewer::SNumericPropertyValue::SLATE_ARGUMENT
SLATE_ARGUMENT(INotifyHook *, NotifyHook)
ETextCommit
Definition
SlateEnums.h:289
UE::PropertyViewer
Definition
FieldIconFinder.cpp:16
UE::PropertyViewer::FPropertyPath
Definition
PropertyPath.h:27
UE::PropertyViewer::FPropertyValueFactory::FGenerateArgs
Definition
PropertyValueFactory.h:51
Engine
Source
Runtime
AdvancedWidgets
Public
Widgets
PropertyViewer
SNumericPropertyValue.h
Generated by
1.9.8