Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
Loading...
Searching...
No Matches
UComponentDecoratorGroup Class Reference

#include <ComponentDecoratorGroup.h>

Inheritance diagram for UComponentDecoratorGroup:
Collaboration diagram for UComponentDecoratorGroup:

Public Member Functions

virtual TSharedRef< SWidget > CreateWidgetInstance () override
virtual float GetMaxHorizontalSize (const bool bRecursive=false) const override
virtual float GetMaxVerticalSize (const bool bRecursive=false) const override
virtual bool CanAcceptChildren () override
BlueprintCallable void AddChild (UComponentDecorator *Decorator)
BlueprintCallable void InsertChildAt (UComponentDecorator *Decorator, int32 Index)
BlueprintCallable void Remove (UComponentDecorator *Decorator)
BlueprintCallable void RemoveByName (const FName Name)
BlueprintCallable void RemoveAt (const int32 Index)
BlueprintCallable void RemoveAll ()
BlueprintCallable bool ContainDecoratorByName (const FName Name) const
BlueprintPure TArray< UComponentDecorator * > GetChildren (const bool bRecursive=false)
BlueprintPure TArray< FName > GetChildrenName (bool bRecursive)
BlueprintPure int32 GetDecoratorIndex (const FName Name)
BlueprintPure bool GetDecoratorByName (const FName Name, UComponentDecorator *&DecoratorFound, bool bRecursive=false)
Public Member Functions inherited from UComponentDecorator
 UComponentDecorator ()
virtual void BeginDestroy () override
virtual void Initialize (TObjectPtr< ULayoutComponent > Component)
bool IsInGroup () const
TSharedRef< SWidget > GetWidget (const bool bForceReconstruct=true)
const TObjectPtr< ULayoutComponent > & GetOwner () const
TObjectPtr< UComponentDecoratorGroupGetGroup () const
bool EjectFromParent ()
BlueprintPure FVector2D GetSize () const
BlueprintPure FVector2D GetAbsoluteSize () const
BlueprintPure FVector2D GetOffset () const
BlueprintPure float GetRotation () const
BlueprintPure FSlateBrush GetBrush () const
virtual BlueprintCallable void SetBrushResource (UObject *Resource)
virtual BlueprintCallable void SetBrush (const FSlateBrush InBrush)
virtual BlueprintCallable void SetBrushOpacity (const float Value)
virtual BlueprintCallable void SetSize (const FVector2D Value)
virtual BlueprintCallable void SetOffset (FVector2D NewOffset)
virtual BlueprintCallable void SetRotation (float Angle)
virtual BlueprintCallable void SetDrawType (const EDrawType NewType)
virtual BlueprintCallable float AddRotationDelta (float Delta)
virtual BlueprintCallable UMaterialInstanceDynamic * GetDynamicMaterialInstance ()
virtual BlueprintCallable void ShowDecorator ()
virtual BlueprintCallable void HideDecorator ()
virtual BlueprintCallable bool IsVisible () const

Public Attributes

 Category ="Decorator Group"
 BlueprintCallable
TArray< TObjectPtr< UComponentDecorator > > Children
TSharedPtr< SOverlay > OverlayWidget
Public Attributes inherited from UComponentDecorator
 Category ="Decorator"
 BlueprintCallable
 EditAnywhere
BlueprintReadOnly uint8 bStartHidden:1
BlueprintReadOnly FSlateBrush Brush
 BlueprintReadOnly
 meta
BlueprintReadOnly FVector2D Offset
BlueprintReadOnly float Rotation
BlueprintReadOnly EDrawType DrawType
BlueprintReadOnly int32 ZOrder
BlueprintReadOnly TEnumAsByte< EHorizontalAlignment > HorizontalAlignment
BlueprintReadOnly TEnumAsByte< EVerticalAlignment > VerticalAlignment
Instanced TArray< TObjectPtr< UComponentDecorator_Animation > > Animations

Additional Inherited Members

Protected Member Functions inherited from UComponentDecorator
virtual void HandleOnPressEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent)
virtual void HandleOnReleaseEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent)
Protected Attributes inherited from UComponentDecorator
uint8 bIsVisible:1
uint8 bGeneratedByLayoutComponentLogic:1
TObjectPtr< ULayoutComponentOwner
TSharedPtr< SWidget > DecoratorWidget

Detailed Description

Useful if you want to move multiple decorator at same time

Member Function Documentation

◆ AddChild()

void UComponentDecoratorGroup::AddChild ( UComponentDecorator * Decorator)

◆ CanAcceptChildren()

virtual bool UComponentDecoratorGroup::CanAcceptChildren ( )
inlineoverridevirtual

Reimplemented from UComponentDecorator.

Reimplemented in URetainerLayer.

◆ ContainDecoratorByName()

bool UComponentDecoratorGroup::ContainDecoratorByName ( const FName Name) const

◆ CreateWidgetInstance()

TSharedRef< SWidget > UComponentDecoratorGroup::CreateWidgetInstance ( )
overridevirtual

Create widget

Reimplemented from UComponentDecorator.

Reimplemented in URetainerLayer.

◆ GetChildren()

TArray< UComponentDecorator * > UComponentDecoratorGroup::GetChildren ( const bool bRecursive = false)

◆ GetChildrenName()

TArray< FName > UComponentDecoratorGroup::GetChildrenName ( bool bRecursive)

◆ GetDecoratorByName()

bool UComponentDecoratorGroup::GetDecoratorByName ( const FName Name,
UComponentDecorator *& DecoratorFound,
bool bRecursive = false )

◆ GetDecoratorIndex()

int32 UComponentDecoratorGroup::GetDecoratorIndex ( const FName Name)

◆ GetMaxHorizontalSize()

float UComponentDecoratorGroup::GetMaxHorizontalSize ( const bool bRecursive = false) const
overridevirtual

Reimplemented from UComponentDecorator.

◆ GetMaxVerticalSize()

float UComponentDecoratorGroup::GetMaxVerticalSize ( const bool bRecursive = false) const
overridevirtual

Reimplemented from UComponentDecorator.

◆ InsertChildAt()

void UComponentDecoratorGroup::InsertChildAt ( UComponentDecorator * Decorator,
int32 Index )

◆ Remove()

void UComponentDecoratorGroup::Remove ( UComponentDecorator * Decorator)

◆ RemoveAll()

void UComponentDecoratorGroup::RemoveAll ( )

◆ RemoveAt()

void UComponentDecoratorGroup::RemoveAt ( const int32 Index)

◆ RemoveByName()

void UComponentDecoratorGroup::RemoveByName ( const FName Name)

Member Data Documentation

◆ BlueprintCallable

UComponentDecoratorGroup::BlueprintCallable

◆ Category

UComponentDecoratorGroup::Category ="Decorator Group"

◆ Children

TArray<TObjectPtr<UComponentDecorator> > UComponentDecoratorGroup::Children

◆ OverlayWidget

TSharedPtr<SOverlay> UComponentDecoratorGroup::OverlayWidget

The documentation for this class was generated from the following files:
  • D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Public/Decorators/ComponentDecoratorGroup.h
  • D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Private/Decorators/ComponentDecoratorGroup.cpp