Wiki > TV3D65 Index > TVMesh
- This functions enables or disables the depth-test on a mesh. It can be used to render a mesh as an overlay to the scene like the gun in a First Person Shooter or a 3D HUD.
| VB.NET | SetOverlay(bEnable As Boolean) |
|---|---|
| C++ | void SetOverlay(bool bEnable ) |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| bEnable | No | Enables or Disables the Depth-Test |
| Null | Does not return a value. |
|---|
| Example | Basic example. |
|---|