Entity.DrawModel

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:DrawModel( )
Description:
Running this function will draw the model of the attached entity. This can be used in any 3D Rendering Hook.
Returns: nil
In Object: Entity
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.DrawModel]Entity.DrawModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis is an example of the usage of DrawModel in a scripted entity.
Used onNewerClient.png
Code
 
function ENT:Draw()
    self:DrawModel()
end 
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox