GetSurface.htm 1019 B

123456789101112131415161718192021222324252627282930313233343536
  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>GetSurface ( mesh, index )</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. mesh - mesh handle <br />
  13. index - index of surface
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. Returns the handle of the surface attached to the specified mesh and with the specified index number. <br />
  22. <br />
  23. Index should be in the range 1...CountSurfaces( mesh ), inclusive. <br />
  24. <br />
  25. You need to 'get a surface', i.e. get its handle, in order to be able to then use that particular surface with other commands.
  26. <br>
  27. <br>
  28. See also: <a class=small href=CountSurfaces.htm>CountSurfaces</a>, <a class=small href=FindSurface.htm>FindSurface</a>.
  29. </td>
  30. </tr>
  31. </table>
  32. <br>
  33. <a target=_top href=../index.htm>Index</a><br>
  34. <br>
  35. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=GetSurface&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  36. </html>