Navigation
API > API/Runtime > API/Runtime/UMG
| Name | UWidgetCheckedStateRegistration |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/CheckBox.h |
| Include Path | #include "Components/CheckBox.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UWidgetCheckedStateRegistration : public UWidgetEnumStateRegistration
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWidgetEnumStateRegistration → UWidgetCheckedStateRegistration
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Checked | FWidgetStateBitfield | Components/CheckBox.h | |
| StateName | const FName | Components/CheckBox.h | |
| Unchecked | FWidgetStateBitfield | Post-load initialized values corresponding to this enum state | Components/CheckBox.h |
| Undetermined | FWidgetStateBitfield | Components/CheckBox.h |
Functions
Public
Overridden from UWidgetEnumStateRegistration
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint8 GetRegisteredWidgetState
(
const UWidget* InWidget |
Called on widget registration to correctly initialize widget state based on the current widget | Components/CheckBox.h | |
virtual FName GetStateName() |
Called once during WidgetStateSettings initialization to get this widget state's name | Components/CheckBox.h |
Protected
Overridden from UWidgetEnumStateRegistration
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitializeStaticBitfields() |
Called to give CDO chance to initialize any static state bitfields that might be declared for convenience | Components/CheckBox.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FWidgetStateBitfield & GetBitfieldFromValue
(
uint8 InValue |
Convenience method to get widget state bitfield from enum value | Components/CheckBox.h |