Garry's Mod Wiki

debugoverlay.Sphere

debugoverlay.Sphere( Vector origin, number size, number lifetime = 1, table color = Color( 255, 255, 255 ), boolean ignoreZ = false )

Description

Displays a coloured sphere at the specified position.

This function will silently fail if the developer ConVar is set to 0.

Arguments

1 Vector origin
Position origin
2 number size
Size of the sphere
3 number lifetime = 1
Number of seconds to appear
4 table color = Color( 255, 255, 255 )
The color of the sphere. Uses the Color
5 boolean ignoreZ = false
If true, will draw on top of everything; ignoring the Z buffer

Page Links


Special Pages


Wikis

?

Render Time: 80ms

DB GetPage 46
Generate Html 11
SaveChanges (1) 10
Render Body 0
Render Sidebar 11