Summary

Functions

Draws a textured rectangle.

Functions

draw.TexturedRect(x, y, w, h, material, color)

client gamemodes/catwork/gamemode/core/cl_kernel.lua:648

Draws a textured rectangle.

Does nothing when no material is given.

Parameters

  • x Number X position
  • y Number Y position
  • w Number Width
  • h Number Height
  • material IMaterial The material
  • color Color optional, defaults to Color(255, 255, 255) Draw color

Defined in