debugrenderer.draw_point

From Pragma
Jump to: navigation, search

Info

Name: draw_point

State:

SHARED

TRANSMITTED

Overloads

CLIENT

 draw_point(  pos,  color,  dur=0)

SERVER

 draw_point(  pos,  color,  dur)

Description

Draws a point in the world. Only use for debugging purposes!
If the duration isn't set to 0, this function will return nil and the point will be removed after the duration has passed.
Otherwise the point will automatically removed when all references to it are destroyed, or DebugRendererObject:Remove is called.
If this function is run serverside, it will always return nil. (Using a duration of 0 will be pointless in this case.)

Examples

See Also