halo.RenderedEntity

From Garry's Mod
Jump to: navigation, search
 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

Entity

If set, the currently rendered entity by the halo library.
Personal tools
Navigation