Entity.SetRenderOrigin

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:SetRenderOrigin( Vector vector )
Description:
Sets the render origin of a entity.
Returns: nil
In Object: Entity
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.SetRenderOrigin]Entity.SetRenderOrigin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSets the render origin of a entity.
Used onNewerClient.png
Code
 
function ENT:Draw()
	self:SetRenderOrigin(Vector(0, 0, 0));
	self:DrawModel();
end;
 
OutputN/A

Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox