Garry's Mod Wiki

render.DrawWireframeBox

render.DrawWireframeBox( Vector position, Angle angle, Vector mins, Vector maxs, table color = Color( 255, 255, 255 ), boolean writeZ = false )

Description

Draws a wireframe box in 3D space.

This is a rendering function that requires a 3d rendering context.

This means that it will only work in 3d Rendering Hooks.

Arguments

1 Vector position
Position of the box.
2 Angle angle
Angles of the box.
3 Vector mins
The lowest corner of the box.
4 Vector maxs
The highest corner of the box.
5 table color = Color( 255, 255, 255 )
The color of the box. Uses the Color.
6 boolean writeZ = false
Sets whenever to write to the zBuffer.

Page Links


Special Pages


Wikis

?

Render Time: 41ms

Session 0
DB GetPage 4
Generate Html 16
SaveChanges 8
Render Body 0
Render Sidebar 11