cam.End3D
From GMod Wiki
Function | |
Syntax |
cam.End3D( ) Where is this used? |
Description: | |
Stops rendering from the 3D positioned camera. | |
Returns: | nil |
Part of Library: | cam |
Realm: | |
Warning: | This is a dangerous function. Use it with care! |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Cam.End3D]Cam.End3D [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Ends 3D camera positioning. |
---|---|
Used on | |
Code | cam.End3D(); |
Output | N/A |
Additional Notes
This and all other EndnD functions are to be paired with their companion StartnD functions. Anything between them will be drawn with the modes set by the camera.
If you run Cam.End3D() without a corresponding Cam.Start3D() it will crash the renderer and therefor the game.