EntityOrder.htm 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>EntityOrder entity,order</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. entity - entity handle <br />
  13. order - order that entity will be drawn in
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. Sets the drawing order for an entity. <br />
  22. <br />
  23. An order value of 0 will mean the entity is drawn normally. A value greater than 0 will mean that entity is drawn first, behind everything else. A value less than 0 will mean the entity is drawn last, in front of everything else. <br />
  24. <br />
  25. Setting an entity's order to non-0 also disables z-buffering for the entity, so should be only used for simple, convex entities like skyboxes, sprites etc. <br />
  26. <br />
  27. EntityOrder affects the specified entity but none of its child entities, if any exist.
  28. </td>
  29. </tr>
  30. </table>
  31. <br>
  32. <a target=_top href=../index.htm>Index</a><br>
  33. <br>
  34. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=EntityOrder&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  35. </html>