Navigation
API > API/Plugins > API/Plugins/CustomizableObjectEditor > API/Plugins/CustomizableObjectEditor/MuCOE
Inheritance Hierarchy
- FGCObject
- FCustomizableObjectWidget
References
| Module | CustomizableObjectEditor |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectEditor/Public/MuCOE/CustomizableObjectWidget.h |
| Include | #include "MuCOE/CustomizableObjectWidget.h" |
Syntax
class FCustomizableObjectWidget : public FGCObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAxisList::Type | CurrentAxis | The axis currently being moused over | |
| FMatrix | CustomCoordSystem | An extra matrix to apply to the widget before drawing it (allows for local/custom coordinate systems). | |
| UCustomizableObjectInstance * | Instance | ||
| int | ParamIndex | ||
| FVector2D | ProjectorScale | ||
| EWidgetMode | WidgetMode |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCustomizableObjectWidget
(
UCustomizableObjectInstance* InInstance, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Only some modes support Absolute Translation Movement. | ||
| EAxisList::Type | |||
| FVector2D | GetOrigin () |
||
| bool | IsDragging () |
Returns whether we are actively dragging | |
| void | Render
(
const FSceneView* View, |
||
| void | Render_Axis
(
const FSceneView* View, |
Draws an arrow head line for a specific axis. Draws an arrow head line for a specific axis. | |
| void | Render_Cube
(
FPrimitiveDrawInterface* PDI, |
Draws a cube | |
| void | Render_Quad
(
FPrimitiveDrawInterface* PDI, |
||
| void | Render_Rotate
(
const FSceneView* View, |
Draws the rotation widget. | |
| void | Render_Scale
(
const FSceneView* View, |
Draws the scaling widget. | |
| void | Render_Translate
(
const FSceneView* View, |
Draws the translation widget. | |
| void | Render_TranslateRotateZ
(
const FSceneView* View, |
Draws the Translate & Rotate Z widget. | |
| void | Converts mouse movement on the screen to widget axis movement/rotation. | ||
| void | SetCurrentAxis
(
EAxisList::Type InCurrentAxis |
Sets the axis currently being moused over. | |
| void | SetDragging
(
const bool InDragging |
Sets if we are currently engaging the widget in dragging | |
| void | SetScale
(
FVector2D Scale |
||
| void | SetSnapEnabled
(
const bool InSnapEnabled |
Sets if we are currently engaging the widget in dragging | |
| void | SetTransform
(
FMatrix Transform |
||
| void | SetWidgetMode
(
EWidgetMode Mode |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Serializes the widget references so they don't get garbage collected. | |
| FString | Overload this method to report a name for your referencer |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EWidgetMode |
Constants
| Name | Description |
|---|---|
| AXIS_ARROW_SEGMENTS |