Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FGCObject
- FWidget
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/UnrealWidget.h |
| Include | #include "UnrealWidget.h" |
Syntax
class FWidget : public FGCObject
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWidget () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AbsoluteTranslationConvertMouseMovementToAxisMovement
(
FSceneView* InView, |
Absolute Translation conversion from mouse movement on the screen to widget axis movement/rotation. | |
| bool | AllowsAbsoluteRotationMovement
(
UE::Widget::EWidgetMode WidgetMode, |
Only some modes support Absolute Rotation Movement. | |
| bool | AllowsAbsoluteTranslationMovement
(
UE::Widget::EWidgetMode WidgetMode |
Only some modes support Absolute Translation Movement. | |
| void | ConvertMouseMovementToAxisMovement
(
FSceneView* InView, |
Converts mouse movement on the screen to widget axis movement/rotation. | |
| void | Renders any widget specific HUD text | ||
| EAxisList::Type | GetAxisToDraw
(
UE::Widget::EWidgetMode WidgetMode |
Gets the axis to draw based on the current widget mode | |
| EAxisList::Type | |||
| FVector2D | GetOrigin () |
||
| float | |||
| bool | IsDragging () |
Returns whether we are actively dragging | |
| bool | |||
| void | Render
(
const FSceneView* View, |
||
| void | Resets the total delta rotation back to zero | ||
| void | Grab the initial offset again first time input is captured | ||
| void | SetCurrentAxis
(
EAxisList::Type InCurrentAxis |
Sets the axis currently being moused over. | |
| void | SetDefaultVisibility
(
bool bInDefaultVisibility |
Sets the default visibility of the widget, if it is not overridden by an active editor mode tool. | |
| void | SetDragging
(
const bool InDragging |
Sets if we are currently engaging the widget in dragging | |
| void | SetDragStartPosition
(
const FVector2D& Position |
||
| void | SetSnapEnabled
(
const bool InSnapEnabled |
Sets if we are currently engaging the widget in dragging | |
| void | SetUsesEditorModeTools
(
FEditorModeTools* InEditorModeTools |
Sets editor mode tools to use in this widget | |
| void | Updates the delta rotation on the widget |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface: Serializes the widget reference so they dont get garbage collected. | |
| FString | Overload this method to report a name for your referencer |