Return to FunctionReference page
Function
void SWF!DisplayItem_setDepth(SWF!DisplayItem item, int depth);
Purpose
- Sets the display depth of a display item.
Parameters
SWF!DisplayItem item - The SWF Display Item that will have its depth set.
int depth - The depth to set the item to.
Returns
void - No return value
Language
- C
Ming version
- (unknown). At least 0.4.0 and onwards, possibly earlier versions as well.
Notes
- Display depth 1 is the lowest possible depth, with display depth 2 being shown "over the top" of that, display depth 3 being show "over the top of that", 4 over the top of that, and so on.
100 <--- Anything displayed here will cover stuff below ... 9 <--- Anything displayed here will cover stuff below 8 <--- Anything displayed here will cover stuff below 7 <--- Anything displayed here will cover stuff below 6 <--- Anything displayed here will cover stuff below 5 <--- Anything displayed here will cover stuff below 4 <--- Anything displayed here will cover stuff below 3 <--- Anything displayed here will cover stuff below 2 <--- Anything displayed here will cover stuff below 1 <--- Lowest display depth
- Don't use a display depth of 0, as that's reserved.
Example
None as yet