S&box Wiki

Hammer.ModelAttribute

This makes it so the model, skin and bodygroups can be set and changed in Hammer.

Properties

string BodyGroup { get; set; }
The default body group to be set to
string MaterialGroup { get; set; }
The default material group to be set to
string Model { get; set; }
The default model to be set to
object TypeId { get; }

Methods

void AddBody( System.Text.StringBuilder sb )
void AddHeader( System.Text.StringBuilder sb )
void AddMetaData( System.Text.StringBuilder sb )
void AddTags( List<string> tags )
bool Match( object obj )