#include <ComponentDecorator.h>
|
| virtual void | HandleOnPressEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) |
| virtual void | HandleOnReleaseEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) |
◆ UComponentDecorator()
| UComponentDecorator::UComponentDecorator |
( |
| ) |
|
◆ AddRotationDelta()
| float UComponentDecorator::AddRotationDelta |
( |
float | Delta | ) |
|
|
virtual |
◆ BeginDestroy()
| void UComponentDecorator::BeginDestroy |
( |
| ) |
|
|
overridevirtual |
◆ CanAcceptChildren()
| virtual bool UComponentDecorator::CanAcceptChildren |
( |
| ) |
|
|
inlinevirtual |
◆ CreateWidgetInstance()
| TSharedRef< SWidget > UComponentDecorator::CreateWidgetInstance |
( |
| ) |
|
|
virtual |
◆ EjectFromParent()
| bool UComponentDecorator::EjectFromParent |
( |
| ) |
|
◆ GetAbsoluteSize()
| FVector2D UComponentDecorator::GetAbsoluteSize |
( |
| ) |
const |
◆ GetBrush()
| BlueprintPure FSlateBrush UComponentDecorator::GetBrush |
( |
| ) |
const |
|
inline |
◆ GetDynamicMaterialInstance()
| UMaterialInstanceDynamic * UComponentDecorator::GetDynamicMaterialInstance |
( |
| ) |
|
|
virtual |
◆ GetGroup()
◆ GetMaxHorizontalSize()
| float UComponentDecorator::GetMaxHorizontalSize |
( |
bool | bRecursive = false | ) |
const |
|
virtual |
◆ GetMaxVerticalSize()
| float UComponentDecorator::GetMaxVerticalSize |
( |
bool | bRecursive = false | ) |
const |
|
virtual |
◆ GetOffset()
| BlueprintPure FVector2D UComponentDecorator::GetOffset |
( |
| ) |
const |
|
inline |
◆ GetOwner()
Get the decorator widget with alignment Override this function only on specific case. In most case, you must only override GetWidget()
◆ GetRotation()
| BlueprintPure float UComponentDecorator::GetRotation |
( |
| ) |
const |
|
inline |
◆ GetSize()
| BlueprintPure FVector2D UComponentDecorator::GetSize |
( |
| ) |
const |
|
inline |
◆ GetWidget()
| TSharedRef< SWidget > UComponentDecorator::GetWidget |
( |
const bool | bForceReconstruct = true | ) |
|
Get the decorator widget Return instance if already constructed
◆ HandleOnPressEvent()
| void UComponentDecorator::HandleOnPressEvent |
( |
const FGeometry & | ComponentGeometry, |
|
|
const FGeometry & | LayoutGeometry, |
|
|
const FPointerEvent & | PointerEvent ) |
|
protectedvirtual |
◆ HandleOnReleaseEvent()
| void UComponentDecorator::HandleOnReleaseEvent |
( |
const FGeometry & | ComponentGeometry, |
|
|
const FGeometry & | LayoutGeometry, |
|
|
const FPointerEvent & | PointerEvent ) |
|
protectedvirtual |
◆ HideDecorator()
| void UComponentDecorator::HideDecorator |
( |
| ) |
|
|
virtual |
◆ Initialize()
| void UComponentDecorator::Initialize |
( |
TObjectPtr< ULayoutComponent > | Component | ) |
|
|
virtual |
◆ IsInGroup()
| bool UComponentDecorator::IsInGroup |
( |
| ) |
const |
◆ IsVisible()
| bool UComponentDecorator::IsVisible |
( |
| ) |
const |
|
virtual |
◆ SetBrush()
| void UComponentDecorator::SetBrush |
( |
const FSlateBrush | InBrush | ) |
|
|
virtual |
◆ SetBrushOpacity()
| void UComponentDecorator::SetBrushOpacity |
( |
const float | Value | ) |
|
|
virtual |
◆ SetBrushResource()
| void UComponentDecorator::SetBrushResource |
( |
UObject * | Resource | ) |
|
|
virtual |
◆ SetDrawType()
| void UComponentDecorator::SetDrawType |
( |
const EDrawType | NewType | ) |
|
|
virtual |
◆ SetOffset()
| void UComponentDecorator::SetOffset |
( |
FVector2D | NewOffset | ) |
|
|
virtual |
◆ SetRotation()
| void UComponentDecorator::SetRotation |
( |
float | Angle | ) |
|
|
virtual |
◆ SetSize()
| void UComponentDecorator::SetSize |
( |
const FVector2D | Value | ) |
|
|
virtual |
◆ ShowDecorator()
| void UComponentDecorator::ShowDecorator |
( |
| ) |
|
|
virtual |
◆ FTouchInterfaceDesignerEditorMenuExtender
| friend class FTouchInterfaceDesignerEditorMenuExtender |
|
friend |
◆ FTouchInterfaceLayoutEditor
| friend class FTouchInterfaceLayoutEditor |
|
friend |
◆ Animations
| Instanced TArray<TObjectPtr<UComponentDecorator_Animation> > UComponentDecorator::Animations |
◆ bGeneratedByLayoutComponentLogic
| uint8 UComponentDecorator::bGeneratedByLayoutComponentLogic |
|
protected |
◆ bIsVisible
| uint8 UComponentDecorator::bIsVisible |
|
protected |
◆ BlueprintCallable
| UComponentDecorator::BlueprintCallable |
◆ BlueprintReadOnly
| UComponentDecorator::BlueprintReadOnly |
◆ Brush
◆ bStartHidden
◆ Category
| UComponentDecorator::Category ="Decorator" |
The image to render in slate brush. Can be a UTexture, UMaterialInterface or an object implementing the AtlasedTextureInterface.
Returns the material instance dynamic if possible otherwise, returns null. Valid only if slate brush contain material.
Size of decorator (percentage of component size). By default, all decorator has a size that match component size. If you want, you can adjust visual size of this component by increasing or decreasing this percentage. For example, if the component size is 150su (Slate Unit): 100% = 150su. 150% = 225su. 50% = 75su.
Define the drawing order of the decorator. Allow a decorator to be drawn before or after another decorator.
◆ DecoratorWidget
| TSharedPtr<SWidget> UComponentDecorator::DecoratorWidget |
|
protected |
◆ DrawType
◆ EditAnywhere
| UComponentDecorator::EditAnywhere |
◆ HorizontalAlignment
| BlueprintReadOnly TEnumAsByte<EHorizontalAlignment> UComponentDecorator::HorizontalAlignment |
◆ meta
| UComponentDecorator::meta |
Initial value:=(ClampMin=0.0f))
FVector2D Size
◆ Offset
◆ Owner
◆ Rotation
◆ VerticalAlignment
| BlueprintReadOnly TEnumAsByte<EVerticalAlignment> UComponentDecorator::VerticalAlignment |
◆ ZOrder
The documentation for this class was generated from the following files:
- D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Public/Decorators/ComponentDecorator.h
- D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Private/Decorators/ComponentDecorator.cpp