Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# TribesGUI.HUDValueBar

Extends
  HUDContainer
Modifiers
  native

    Core.Object
    |
    +-- TribesGUI.HUDElement
       |
       +-- TribesGUI.HUDContainer
          |
          +-- TribesGUI.HUDValueBar

#### Direct Known Subclasses:

> HUDEnergyBar, HUDExtendableValueBar, HUDHealthBar, HUDHealthBarTurret, HUDHealthBarVehicle, HUDThrowMeter

Variables Summary
float | barEnd
float | barStart
float | barWidth
bool | bReverse
float | ratio
HUDNumericTextureLabel | ValueLabel
HUDValueBar
HUDMaterial | activeEmptyTexture
HUDMaterial | activeFullTexture
float | barEndOffset
float | barStartOffset
HUDMaterial | emptyTexture
HUDMaterial | fullTexture
String | LabelConfigName
int | MaxDisplayDigits
float | maximumValue
float | value

Inherited Variables from TribesGUI.HUDContainer
children

Inherited Variables from TribesGUI.HUDElement
alpha, aspectRatio, backgroundTexture, BaseScript, bFlashing, bIsLayingOut, bNeedsLayout, borderBottom, borderLeft, borderRight, borderTop, bRelativePositioning, bRenderedOnce, bUseResFonts, bVisible, defaultDrawColor, FlashAlphaMax, FlashAlphaMin, FlashDuration, FlashPeriod, FlashStartTime, FlashSwitchTime, foregroundTexture, Height, HelpFont, HelpFontName, HelpLabel, horizontalAlignment, horizontalFill, iniOverride, initialHeight, initialPosX, initialPosY, initialWidth, insetX, insetY, LocalData, nextSibling, offsetX, offsetY, ParentElement, posX, posY, previousSibling, RelativeHeight, RelativePosX, RelativePosY, RelativeWidth, resFontNames, resFonts, screenHeight, screenWidth, TargetAlpha, textColor, textFont, textFontName, timeSeconds, verticalAlignment, verticalFill, Width

Enumerations Summary

Inherited Enumerations from TribesGUI.HUDElement
EHorizontalAlignment, EHorizontalFill, ELayoutDirection, EVerticalAlignment, EVerticalFill

Structures Summary

Inherited Structures from TribesGUI.HUDElement
HUDMaterial

Functions Summary
|  | CalculateRatio ()))
|  | ClipToValue (Canvas C, HUDMaterial mat, float clipRatio)
|  | InitElement ()))
|  | UpdateData (ClientSideCharacter c))

Inherited Functions from TribesGUI.HUDContainer
AddClonedElement, AddElement, AddExistingElement, ElementAdded, ElementRemoved, ForceNeedsLayout, HasElement, InitElementHeirachy, RemoveAll, RemoveElementAt, SetAlpha

Inherited Functions from TribesGUI.HUDElement
Construct, CreateClonedElement, CreateHUDElement, DoLayout, EncodeColor, EncodePlayerName, FlashElement, ForceNeedsLayout, GetAlpha, GetHeight, GetMaximumRelativeX, GetMaximumRelativeY, GetMaximumX, GetMaximumY, GetScreenPos, GetWidth, GetX, GetY, InitElement, InitElementHeirachy, InternalHeight, InternalLeft, InternalTop, InternalWidth, KeyEvent, KeyType, Layout, LoadConfig, LoadFont, LoadFonts, MakeHUDMaterial, MaterialHeight, MaterialWidth, NativeRenderElement, OnMouseClicked, OnMouseDoubleClicked, OnMouseEntered, OnMouseExited, PointInElement, PointInRegion, Render, RenderElement, RenderHUDMaterial, ResetFont, ResetHUDMaterial, ResizeForWidth, RootHUDScript, SetAlpha, SetColor, SetHeight, SetNeedsLayout, SetWidth, SetX, SetY, StaticCreateHUDElement, UpdateData

Variables Detail

#### barEnd Source code

var float barEnd;

#### barStart Source code

var float barStart;

#### barWidth Source code

var float barWidth;

#### bReverse Source code

var bool bReverse;

#### ratio Source code

var float ratio;

#### ValueLabel Source code

var HUDNumericTextureLabel ValueLabel;

> Value label

### HUDValueBar

#### activeEmptyTexture Source code

var(HUDValueBar) config HUDMaterial activeEmptyTexture;

> Texture for the empty bar

#### activeFullTexture Source code

var(HUDValueBar) config HUDMaterial activeFullTexture;

> Texture for the full bar

#### barEndOffset Source code

var(HUDValueBar) config float barEndOffset;

> X offset (in texture co-ords) of the end of the bar region

#### barStartOffset Source code

var(HUDValueBar) config float barStartOffset;

> X offset (in texture co-ords) of the start of the bar region

#### emptyTexture Source code

var(HUDValueBar) config HUDMaterial emptyTexture;

> Default Texture for the empty bar

#### fullTexture Source code

var(HUDValueBar) config HUDMaterial fullTexture;

> Default Texture for the full bar

#### LabelConfigName Source code

var(HUDValueBar) config String LabelConfigName;

> Name of the config item for the label

#### MaxDisplayDigits Source code

var(HUDValueBar) config int MaxDisplayDigits;

> Maximum number of digitd to display

#### maximumValue Source code

var(HUDValueBar) config float maximumValue;

> max value for the bar

#### value Source code

var(HUDValueBar) config float value;

> current value of the bar

Functions Detail

#### CalculateRatio Source code

function CalculateRatio ( ) )

#### ClipToValue Source code

native function ClipToValue ( Canvas C, HUDMaterial mat, float clipRatio )

#### InitElement Source code

function InitElement ( ) )

#### UpdateData Source code

function UpdateData ( ClientSideCharacter c) )

Defaultproperties

    defaultproperties
    {
    	barStartOffset	= 0
    	maximumValue	= 500
    	MaxDisplayDigits = 3
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Creation time: st 23.5.2018 00:10:31.211 - Created with UnCodeX