cam.End2D
From GMod Wiki
| Function | |
| Syntax |
cam.End2D( ) Where is this used? |
| Description: | |
| Stops rendering from the 2D camera. | |
| Returns: | nil |
| Part of Library: | Cam |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Cam.End2D]Cam.End2D [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Ends the 2D methods. |
|---|---|
| Used on | |
| Code | render.SetViewPort( 0, 100, 50, 50 ) cam.Start2D() draw.line( 10, 200 ) cam.End2D() |
| Output | N/A |