G.VGUIFrameTime
From GMod Wiki
| Function | |
| Syntax |
VGUIFrameTime( ) Where is this used? |
| Description: | |
| Returns the time taken to render the VGUI. | |
| Returns: | Float |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.VGUIFrameTime]G.VGUIFrameTime [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints how long it took to render the VGUI. |
|---|---|
| Used on | |
| Code | print( VGUIFrameTime() ) |
| Output | How long the rendering the VGUI took. |
See also
- Even it exists serverside, this always retuns 0 when called on the server.