class EditorModelAttribute : System.Attribute

book_4_sparkGenerated
code_blocksInput

Description

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.

Members

Instance Properties

Member NameSummary
ModelThe model to display in the editor.
CastShadowsWhether the model should cast shadows in the editor.
FixedBoundsDon't reorient bounds. This is used for things that have fixed bounds in the game, like info_player_start.
StaticColorTint color for this editor model instance when the entity it represents is static.
DynamicColorTint color for this editor model instance when the entity it represents is dynamic.