Difference between revisions of "Object Element"

1,131 bytes added ,  21:41, 21 May 2009
no edit summary
imported>JRoush
imported>JRoush
Line 1: Line 1:
{{unfinished}}
{{unfinished}}


== Image Element ==
== Image ==
An Image element defines a rectangular region with an associated [[Portal:Texturing|texture]]
Defines a rectangular region with an associated [[Portal:Texturing|texture]].  Every visible aspect of the menus and HUD, except for text, is an image element.
Adds a texture to the menu - one of the most commonly used elements.  Every visible aspect of the menus and HUD, except for text, is an image texture.


==== Value Elements ====
===== Value Elements =====
*[[Property Element#General|General]]
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Visible|Visible]]
*[[Property Element#Rendered|Rendered]]
*[[Property Element#Mouse Targetable|Mouse Targetable]]
*[[Property Element#Mouse Targetable|Mouse Targetable]]
*[[Property Element#Textured|Textured]]
*[[Property Element#Textured|Textured]]


== Rect ==
Defines a rectangular region (similar to an Image element), but without any visible effects.  Even so, a Rect element may have a [[Property Element#Rendered|Visible]] element as a child, which, if it evaluates to false, will override the Visible properties of all of the Rect's other children.
===== Value Elements =====
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Mouse Targetable|Mouse Targetable]]
== Text ==
Self explanatory.  Note, however, that the width and height property elements have no effect on the size of the text - this is determined solely by the font property.
===== Value Elements =====
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Rendered|Rendered]]
*[[Property Element#Text|Text]]
== Menu ==
Menu elements (here referring to elements of the form <menu></menu> rather than in the sense of the page title) are a bit special.  They appear to be used exclusively as the root element of the menu document - no additional menu elements are parsed, no matter where they appear in the file.
===== Value Elements =====
*[[Property Element#General|General]]
*[[Property Element#Menu|Menu]]


[[Category:Oblivion XML]]
[[Category:Oblivion XML]]
Anonymous user