The EditorModelAttribute class is used to declare a model to represent an entity in the editor. This attribute is commonly used and is accessible outside of the Editor namespace.
The EditorModelAttribute class is used to declare a model to represent an entity in the editor. This attribute is commonly used and is accessible outside of the Editor namespace.
Member Name | Summary |
---|---|
Model | The model to display in the editor. |
CastShadows | Whether the model should cast shadows in the editor. |
FixedBounds | Don't reorient bounds. This is used for things that have fixed bounds in the game, like info_player_start. |
StaticColor | Tint color for this editor model instance when the entity it represents is static. |
DynamicColor | Tint color for this editor model instance when the entity it represents is dynamic. |