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 ColorModulate(float r, float g, float b);
  • void AlphaModulate(float alpha);
  • string GetName();
  • bool IsErrorMaterial();
  1. Methods

IMaterial

void ColorModulate(float r, float g, float b);

Apply constant color or alpha modulation

void AlphaModulate(float alpha);

Apply constant color or alpha modulation

string GetName();

Get the name of the material.

bool IsErrorMaterial();

Returns true if this is the error material.

PreviousIGameEventNextIMaterialSystem

Last updated 5 years ago