SetTextDepth

Description

Sets the draw order for the text between 0-10000, 0 being the front of the screen, 10000 being the back. Anything more than 10000 will result in the text being clipped from view.

By default text is set to depth 9 and appears above all other sprites in the scene, setting a greater depth will cause the text to be sorted into the transparent draw order list which may decrease performance. Use depth 0 for best performance.

Definition

SetTextDepth( iTextIndex, iDepth )

Parameters