-
Notifications
You must be signed in to change notification settings - Fork 0
4. Health Resource With UI
Cutter Hodnett edited this page Nov 9, 2024
·
1 revision
Health Resource With UI (child of Health Resource)
#include "Components/Health/HealthResourceWithUI.h"
- Enable Onscreen Bool
- Setting for how and when to show the on-screen widget and the overhead widget.
- Overhead Widget Settings EOverheadWidgetVisibility
- Setting for how and when to show the overhead widget.
- On Screen Widget Class User Widget
- This class is used when creating the widget for the possessing player's UI.
- Overhead Widget Class User Widget
- This class is used for the character's overhead widget used in a WidgetComponent.
- Overhead Widget Material Material Interface
- The material that will be applied to the overhead widget.
- Use World Space Bool
- The material that will be applied to the overhead widget.
- Draw Size Vector2D
- The draw size used for the overhead widget.
- See similar settings in the WidgetComponent class.
- Draw At Desired Size Bool
- If true, the Overhead Widget's draw size uses the widget’s desired size.
- See similar settings in the WidgetComponent class.
- Overhead Widget Offset Transform
- The offset that the Vector will be from the owning actor.
- Overhead Widget Component WidgetComponent
- The Widget Component that is attached to the owner.
- Overhead Widget User Widget
- The User Widget used in the Overhead Widget Component.
- On Screen Widget User Widget
- The User Widget that is placed on the owning player’s screen.
- ChangeWidgetSettings(Bool UseOnscreen,OverheadWidgetVisibility UseOverhead)
- Returns all current modifiers.
- Options explaining for Widget Settings:
- Overhead Disabled: The Overhead widget is never shown, but is created.
- Show Only On Possessed Player: The Overhead widget is only shown to the owning player.
- Show Only On Other: The Overhead widget is not shown to the owning player.
- Show On All: The Overhead widget is used on both the owning player and others.