BrushAlpha.htm 1.3 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>BrushAlpha brush,alpha#</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. brush - brush handle <br />
  13. alpha# - alpha level of brush
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. Sets the alpha level of a brush. <br />
  22. <br />
  23. The alpha# value should be in the range 0-1. The default brush alpha setting is 1. <br />
  24. <br />
  25. The alpha level is how transparent an entity is. A value of 1 will mean the entity is non-transparent, i.e. opaque. A value of 0 will mean the entity is completely transparent, i.e. invisible. Values between 0 and 1 will cause varying amount of transparency accordingly, useful for imitating the look of objects such as glass and ice. <br />
  26. <br />
  27. An BrushAlpha value of 0 is especially useful as Blitz3D will not render entities with such a value, but will still involve the entities in collision tests. This is unlike HideEntity, which doesn't involve entities in collisions.
  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=BrushAlpha&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  35. </html>