Gah - a solution with more questions. – EntropicLqd
UE3:UTUI_HudWidget (UT3)
Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTUI_HudWidget |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
These widgets are just for use in the hud.
Properties[edit]
Property group 'Animation'[edit]
Animations[edit]
Type: array<WidgetAnimation>
Modifiers: editinline
Property group 'Visibility'[edit]
bVisibleAfterMatch[edit]
Type: bool
Default value: True
bVisibleBeforeMatch[edit]
Type: bool
Visibiliy Flags - These determine if the widget should be visible at a given point in the game
Default value: True
bVisibleDuringMatch[edit]
Type: bool
Default value: True
bVisibleWhileSpectating[edit]
Type: bool
Default value: True
Internal variables[edit]
bManualVisibility[edit]
Type: bool
If true, this widget will manage it's own visibily
OpacityTarget[edit]
Type: float
What is the Target opacity for this Widget
Default value: 1.0
OpacityTimer[edit]
Type: float
How long before we reach our target
UTHudSceneOwner[edit]
Type: UTUIScene_Hud
Cached link to the UTUIScene_Hud that owns this widget
Subobjects[edit]
WidgetEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UTUI_Widget.WidgetEventComponent
No new values.
Enums[edit]
EAnimPropType[edit]
This is a quickly hacked in animation system for Gamers Day! It will be replaced with a real animation system in the future, do not use
- EAPT_None
- EAPT_PositionLeft
- EAPT_PositionTop
Structs[edit]
WidgetAnimation[edit]
Modifiers: native
- name Tag
- EAnimPropType Property
- bool bNotifyWhenFinished
- array<WidgetAnimSequence> Sequences
- bool bIsPlaying
- int SeqIndex
- float Time
- float Value
WidgetAnimSequence[edit]
Modifiers: native
Functions[edit]
Native functions[edit]
PlayAnimation[edit]
StopAnimation[edit]
Events[edit]
FadeTo[edit]
Calling FadeTo will cause the widget to fade to a new opacity value.
NewOpacity: The desired opacity value
NewFadeTime: How fast should we reach the value
BTimeFromExtent: If true, FadeTo will consider NewFadeTime to be "if fading from min or max it would take x seconds" and then calculate the adjusted time given the current opacity value.
PlayerOwnerIsSpectating[edit]
SetOpacity[edit]
WidgetTick[edit]
Fade the widget if needed
Other instance functions[edit]
bIsAnimating[edit]
CancelAnimations[edit]
GetHudOwner[edit]
Returns:
- a reference to the hud that owns the scene that owns this widget