RapyutaSimulationPlugins
Public Member Functions | Public Attributes | Private Attributes | List of all members
URRUIWidgetComponent Class Reference

#include <RRUIWidgetComponent.h>

Inheritance diagram for URRUIWidgetComponent:
Inheritance graph
[legend]
Collaboration diagram for URRUIWidgetComponent:
Collaboration graph
[legend]

Public Member Functions

 URRUIWidgetComponent ()
 
void Init ()
 
void SetTooltipText (const FString &InTooltip)
 Set robot's tooltip text through #UIWidgetComp's label. More...
 
void SetTooltipVisible (bool bInTooltipVisible)
 Toggle robot's tooltip visibility. More...
 
void SetUIWidgetVisible (bool bInWidgetVisible)
 Set visibility of UIUserWidget. More...
 
URRUserWidgetGetRRWidget () const
 

Public Attributes

TSubclassOf< UUserWidget > UIUserWidgetClass
 Widget class. More...
 
FIntPoint UIWidgetSize = FIntPoint(500.f, 50.f)
 

Private Attributes

TObjectPtr< URRUserWidgetUIUserWidget = nullptr
 #UUserWidget's widget More...
 

Detailed Description

See also
[]()

UCLASS(ClassGroup = (Custom), Blueprintable, meta = (BlueprintSpawnableComponent))

Constructor & Destructor Documentation

◆ URRUIWidgetComponent()

URRUIWidgetComponent::URRUIWidgetComponent ( )

Member Function Documentation

◆ GetRRWidget()

URRUserWidget* URRUIWidgetComponent::GetRRWidget ( ) const
inline

◆ Init()

void URRUIWidgetComponent::Init ( )

◆ SetTooltipText()

void URRUIWidgetComponent::SetTooltipText ( const FString &  InTooltip)

Set robot's tooltip text through #UIWidgetComp's label.

Parameters
InTooltip

UFUNCTION(BlueprintCallable)

◆ SetTooltipVisible()

void URRUIWidgetComponent::SetTooltipVisible ( bool  bInTooltipVisible)

Toggle robot's tooltip visibility.

Parameters
bInTooltipVisible

UFUNCTION(BlueprintCallable)

◆ SetUIWidgetVisible()

void URRUIWidgetComponent::SetUIWidgetVisible ( bool  bInWidgetVisible)

Set visibility of UIUserWidget.

Parameters
bInWidgetVisible

UFUNCTION(BlueprintCallable)

Member Data Documentation

◆ UIUserWidget

TObjectPtr<URRUserWidget> URRUIWidgetComponent::UIUserWidget = nullptr
private

#UUserWidget's widget

◆ UIUserWidgetClass

TSubclassOf<UUserWidget> URRUIWidgetComponent::UIUserWidgetClass

◆ UIWidgetSize

FIntPoint URRUIWidgetComponent::UIWidgetSize = FIntPoint(500.f, 50.f)

The documentation for this class was generated from the following file: