Neverlose
  • List of all methods
  • Methods
    • CGlobalVarsBase
    • CUserCmd
    • C_BaseEntity
    • C_BasePlayer
    • Cheat
    • CheatVar
    • CheatVars
    • Color
    • ConVar
    • Config
    • Globals
    • ICvar
    • IEngineClient
    • IEntityList
    • IGameEvent
    • IMaterial
    • IMaterialSystem
    • INetChannelInfo
    • IRender
    • Panorama
    • QAngle
    • Utils
    • Vector
    • Vector2
    • trace_t
Powered by GitBook
On this page
  • void Line(Vector2 start, Vector2 end, Color clr);
  • void Box(Vector2 start, Vector2 end, Color clr);
  • void BoxFilled(Vector2 start, Vector2 end, Color clr);
  • void CircleFilled(Vector2 pos, float rad, int points, Color clr);
  • void Text(string text, Vector2 pos, Color clr, int size);
  • Vector2 ScreenPosition(Vector pos);
  • void Circle3D(Vector pos, int points, float rad, Color clr);
  • void CircleFilled3D(Vector pos, int points, float rad, Color clr);
  • void CylinderFilled3D(Vector pos, int points, float rad, float height, Color clr);
  1. Methods

IRender

All methods can be called from draw callback only!

void Line(Vector2 start, Vector2 end, Color clr);

void Box(Vector2 start, Vector2 end, Color clr);

void BoxFilled(Vector2 start, Vector2 end, Color clr);

void CircleFilled(Vector2 pos, float rad, int points, Color clr);

void Text(string text, Vector2 pos, Color clr, int size);

Vector2 ScreenPosition(Vector pos);

Converts world position to screen position.

void Circle3D(Vector pos, int points, float rad, Color clr);

Renders circle in world.

pos - world position

points - number of points in circle

rad - circle radius

clr - circle color

void CircleFilled3D(Vector pos, int points, float rad, Color clr);

Renders filled circle in world.

pos - world position

points - number of points in circle

rad - circle radius

clr - circle color

void CylinderFilled3D(Vector pos, int points, float rad, float height, Color clr);

Renders cylinder in world.

pos - world position

points - number of points in circle

rad - circle radius

height - cylinder's height

clr - circle color

PreviousINetChannelInfoNextPanorama

Last updated 5 years ago