SetShader( <materialname>, <width>, <height> )


Module: HUD

Summary:

Set the material for this Hud Element



Call this on:

Hud Element



Example:

waypoint SetShader( "playbook_objective_stop", 15, 15 );



Required Args:

  • 1 : <materialname> A the name of the material to set


Optional Args

  • 1 : <width> The width of the material.
  • 2 : <height> The height of the material.