Depth Trait

From GECK
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.

The depth directive specifies the depth of a rect. Higher depths appear on top of lower depths.

Example

<rect name="Divider_Bar">
	<visible>1</visible>
	<depth>1</depth>

	<image name="Divider_Image">
		<visible>1</visible>
		<filename>interface\AVUI\Solid.dds</filename>
		<width>50</width>
		<height>50</height>
		<depth>2</depth>
	</image>

</rect>

Depth is relative to the parent element. Divider_Bar will be at depth 1, and Divider_Bars depth will be 3.

See Also