Garry's Mod Wiki

Garry's Mod Wiki

  WEAPON:DrawWorldModelTranslucent( number flags )

Description

Called when we are about to draw the translucent parts of the weapon's world model.

See WEAPON:DrawWorldModel for opaque pass callback. See WEAPON:ViewModelDrawn for view model rendering.

This is a rendering hook which provides a 3d rendering context.

Arguments

1 number flags
The STUDIO_ flags for this render operation.

Example

Do the default action - render it without any changes.

function SWEP:DrawWorldModelTranslucent( flags ) self:DrawModel( flags ) end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...