class EditorModelAttribute
in global
Declare a model to represent this entity in editor. This is a common attribute so it's leaked out of the Editor namespace.
public string Model { get; set; }
The model to display in the editor.
public bool CastShadows { get; set; }
Whether the model should cast shadows in the editor.
public bool FixedBounds { get; set; }
Don't reorient bounds. This is used for things that have fixed bounds in the game, like info_player_start.
public Color StaticColor { get; set; }
Tint color for this editor model instance when the entity it represents is static.
public Color DynamicColor { get; set; }
Tint color for this editor model instance when the entity it represents is dynamic.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public object TypeId { get; }
😔 No documentation found.
public bool Match( object obj )
😔 No documentation found.
public bool IsDefaultAttribute( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public EditorModelAttribute( string model, string staticColor = white, string dynamicColor = white )
😔 No documentation found.