AW HUD ELEMENT TYPE

From ActiveWiki
Revision as of 13:05, 18 October 2008 by Macavity (talk | contribs) (Added in, cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Minimum requirements
Added in version 4.1
SDKbuild 64


AW_HUD_ELEMENT_TYPE

Type

Integer

Description

Type of element.

Notes

Possible values (as defined in Aw.h):

  • AW_HUD_TYPE_TEXT
  • AW_HUD_TYPE_IMAGE
  • AW_HUD_TYPE_MODEL (not supported)

Text elements display the contents of AW_HUD_ELEMENT_TEXT as text. This text is displayed in the viewport of a browser. It is scaled and centered within the extents of the element, utilizing the same mechanism as is used by the browser for sign objects.

Image elements treat AW_HUD_ELEMENT_TEXT as a texture name. This texture is downloaded and displayed in the viewport of a browser. It can either be tiled or scaled to fit the extents of the element. It is also possible to display a specified region of the texture.

Used by