Garry's Mod Wiki

halo.RenderedEntity

Description

Returns the entity the halo library is currently rendering the halo for.

The main purpose of this function is to be used in ENTITY:Draw in order not to draw certain parts of the entity when the halo is being rendered, so there's no halo around unwanted entity parts, such as lasers, 3D2D displays, etc.

Returns

1 Entity
If set, the currently rendered entity by the halo library.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

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