ent_rbox

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
This article or section is a stub. You can help by expanding it.

Draws nothing [confirm], render box is client side and can be shown with r_drawrenderboxes or cl_ent_rbox.

Code

"source-sdk-2013/src/game/server/baseentity.cpp"
C
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
void CC_Ent_RBox( const CCommand& args ) { SetDebugBits(UTIL_GetCommandClient(),args[1],OVERLAY_RBOX_BIT); } static ConCommand ent_rbox("ent_rbox", CC_Ent_RBox, "Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays.\n\t Arguments: {entity_name} / {class_name} / no argument picks what player is looking at ", FCVAR_CHEAT);

function

  • DrawRBoxOverlay()

see also