# CBaseModelEntity
extends CBaseEntity
Function | Description | Client |
---|---|---|
unsigned GetMaterialGroupHash() | GetMaterialGroupHash(): Get the material group hash of this entity. | ❌ |
uint64 GetMaterialGroupMask() | GetMaterialGroupMask(): Get the mesh group mask of this entity. | ❌ |
int GetRenderAlpha() | GetRenderAlpha(): Get the alpha modulation of this entity. | ✔️ |
Vector GetRenderColor() | GetRenderColor(): Get the render color of the entity. | ❌ |
void SetBodygroup(iGroup, iValue) | Sets a bodygroup. | ❌ |
void SetBodygroupByName(pName, iValue) | Sets a bodygroup by name. | ❌ |
void SetLightGroup(pLightGroup) | SetLightGroup( string ): Sets the light group of the entity. | ❌ |
void SetMaterialGroup(pMaterialGroup) | SetMaterialGroup( string ): Set the material group of this entity. | ❌ |
void SetMaterialGroupHash(nHash) | SetMaterialGroupHash( uint32 ): Set the material group hash of this entity. | ❌ |
void SetMaterialGroupMask(nMeshGroupMask) | SetMaterialGroupMask( uint64 ): Set the mesh group mask of this entity. | ❌ |
void SetModel(pModelName) | ❌ | |
void SetRenderAlpha(nAlpha) | SetRenderAlpha( int ): Set the alpha modulation of this entity. | ❌ |
void SetRenderColor(r, g, b) | SetRenderColor( r, g, b ): Sets the render color of the entity. | ❌ |
void SetRenderMode(nMode) | SetRenderMode( int ): Sets the render mode of the entity. | ❌ |
void SetSingleMeshGroup(pMeshGroupName) | SetSingleMeshGroup( string ): Set a single mesh group for this entity. | ❌ |
void SetSize(mins, maxs) | ❌ | |
void SetSkin(iSkin) | Set skin (int). | ❌ |