ctx:GetEntity():EntityThe entity being drawn.
The DrawModel callback context — per-model render hooks.
ctx:GetEntity():EntityThe entity being drawn.
ctx:GetEntityIndex():numberIndex of the entity being drawn.
ctx:GetModelName():stringName of the model being drawn.
ctx:ForcedMaterialOverride(mat:Material)Force a material for the model being drawn.
ctx:ClearMaterialOverride()Clear any forced material for the draw.