ClearSurface.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>ClearSurface surface,[clear_verts][,clear_triangles]</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. surface - surface handle <br />
  13. clear_verts (optional) - true to remove all vertices from the specified surface, false not to. Defaults to true. <br />
  14. clear_triangles (optional) - true to remove all triangles from the specified surface, false not to. Defaults to true.
  15. </td>
  16. </tr>
  17. </table>
  18. <h1>Description</h1>
  19. <table>
  20. <tr>
  21. <td>
  22. Removes all vertices and/or triangles from a surface. <br />
  23. <br />
  24. This is useful for clearing sections of mesh. The results will be instantly visible. <br />
  25. <br />
  26. After clearing a surface, you may wish to add vertices and triangles to it again but with a slightly different polygon count for dynamic level of detail (LOD).
  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=ClearSurface&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  34. </html>