cam.End3D2D

From GMod Wiki

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



Examples

DescriptionPrint text on the screen in 3d.
Used onNewerClient.png
Code
cam.Start3D2D( Vector(0, 0, 0), Angle(0, 0, 0), 1 )
     draw.DrawText("Your Mother", "ScoreboardText", 0, 0, Color(255, 255, 255, 255), TEXT_ALIGN_CENTER )
cam.End3D2D()
OutputDraws "Your Mother" at the Vector 0, 0, 0.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox