cam.End3D

From GMod Wiki

Jump to: navigation, search
Function
Syntax cam.End3D( )
Where is this used?
Description:
Stops rendering from the 3D positioned camera.
Returns: nil
Part of Library: cam
Realm: NewerClient.png
Error.png 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

DescriptionEnds 3D camera positioning.
Used onNewerClient.png
Code
cam.End3D();
OutputN/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.

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox