ClearWorld.htm 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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>ClearWorld [entities][,brushes][,textures]</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. entities (optional) - True to clear all entities, False not to. Defaults to true. <br />
  13. brushes (optional) - True to clear all brushes, False not to. Defaults to true. <br />
  14. textures (optional) - True to clear all textures, False not to. Defaults to true.
  15. </td>
  16. </tr>
  17. </table>
  18. <h1>Description</h1>
  19. <table>
  20. <tr>
  21. <td>
  22. Clears all entities, brushes and/or textures from the screen and from memory. <br />
  23. <br />
  24. As soon as you clear something, you will not be able to use it again until you reload it. Trying to do so will cause a runtime error. <br />
  25. <br />
  26. This command is useful for when a level has finished and you wish to load a different level with new entities, brushes and textures.
  27. </td>
  28. </tr>
  29. </table>
  30. <br>
  31. <a target=_top href=../index.htm>Index</a><br>
  32. <br>
  33. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=ClearWorld&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  34. </html>