cam.End2D

From GMod Wiki

Jump to: navigation, search
Function
Syntax cam.End2D( )
Where is this used?
Description:
Stops rendering from the 2D camera.
Returns: nil
Part of Library: Cam
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Cam.End2D]Cam.End2D [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionEnds the 2D methods.
Used onNewerClient.png
Code
render.SetViewPort( 0, 100, 50, 50 )
 
cam.Start2D()
    draw.line( 10, 200 )
cam.End2D()
OutputN/A



See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox