s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Attributes
EditorModelAttribute
chevron_left
Attributes
attribute
EditorModelAttribute
search
Constructors
functions
EditorModelAttribute
Properties
data_object
CastShadows
data_object
DynamicColor
data_object
FixedBounds
data_object
Model
data_object
StaticColor
EditorModelAttribute
Declare a model to represent this entity in editor. This is a common attribute so it's leaked out of the Editor namespace.
attribute
Sandbox.System
build
Constructors
1
EditorModelAttribute
(
model
,
staticColor
,
dynamicColor
)
data_object
Properties
5
CastShadows
bool
Whether the model should cast shadows in the editor.
DynamicColor
Color
Tint color for this editor model instance when the entity it represents is dynamic.
FixedBounds
bool
Don't reorient bounds. This is used for things that have fixed bounds in the game, like info_player_start.
Model
string
The model to display in the editor.
StaticColor
Color
Tint color for this editor model instance when the entity it represents is static.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.