Navigation
API > API/Plugins > API/Plugins/DMXPixelMappingEditorWidgets
| Name | FDMXPixelMappingComponentWidget |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingEditorWidgets/Public/DMXPixelMappingComponentWidget.h |
| Include Path | #include "DMXPixelMappingComponentWidget.h" |
Syntax
class FDMXPixelMappingComponentWidget : public TSharedFromThis< FDMXPixelMappingComponentWidget >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDMXPixelMappingComponentWidget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDMXPixelMappingComponentWidget
(
TSharedPtr< SDMXPixelMappingComponentBox > InComponentBox, |
Constructs the class, optionally with custom widgets | DMXPixelMappingComponentWidget.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDMXPixelMappingComponentWidget() |
Destructor | DMXPixelMappingComponentWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToCanvas
(
const TSharedRef< SConstraintCanvas >& Canvas, |
Adds the widgets to a canvas. If it already resides in a canvas it is removed from that. | DMXPixelMappingComponentWidget.h | |
FLinearColor GetColor() |
Retuns the color of the widget | DMXPixelMappingComponentWidget.h | |
const TSharedPtr< SDMXPixelMappingComponentBox > & GetComponentBox() |
DMXPixelMappingComponentWidget.h | ||
const TSharedPtr< SDMXPixelMappingComponentLabel > & GetComponentLabel() |
DMXPixelMappingComponentWidget.h | ||
FVector2D GetLocalSize() |
Sets the size of both widgets | DMXPixelMappingComponentWidget.h | |
void RemoveFromCanvas() |
Adds the widgets to a canvas. Needs to be assigned to a canvas already. | DMXPixelMappingComponentWidget.h | |
void SetColor
(
const FLinearColor& Color |
Sets the color of the widget | DMXPixelMappingComponentWidget.h | |
void SetIDVisibility
(
bool bVisible |
Sets if the ID text of is visible | DMXPixelMappingComponentWidget.h | |
void SetLabelText
(
const FText& Text |
Sets the label text | DMXPixelMappingComponentWidget.h | |
void SetPosition
(
const FVector2D& LocalPosition |
Sets the position in the canvas it was added to. | DMXPixelMappingComponentWidget.h | |
void SetSize
(
const FVector2D& LocalSize |
Sets the size on both widgets | DMXPixelMappingComponentWidget.h | |
void SetVisibility
(
EVisibility Visibility |
Sets the visibility of the widget | DMXPixelMappingComponentWidget.h | |
void SetZOrder
(
float ZOrder |
Sets the position in a canvas. Needs to be assigned to a canvas already. | DMXPixelMappingComponentWidget.h |