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
Classes
Clothing
chevron_left
Classes
class
Clothing
search
Constructors
functions
Clothing
Properties
data_object
AllowTintSelect
data_object
Category
data_object
ConditionalModels
data_object
EyesMaterial
data_object
HasHumanSkin
data_object
HeelHeight
data_object
HideBody
data_object
HumanAltFemaleModel
data_object
HumanAltModel
data_object
HumanEyesMaterial
data_object
HumanSkinBodyGroups
data_object
HumanSkinMaterial
data_object
HumanSkinMaterialGroup
data_object
HumanSkinModel
data_object
HumanSkinTags
data_object
Icon
data_object
MaterialGroup
data_object
Model
remove_circle
Parent
data_object
SkinMaterial
data_object
SlotsOver
data_object
SlotsUnder
data_object
SteamItemDefinitionId
remove_circle
SubCategory
data_object
Subtitle
data_object
Tags
data_object
TintDefault
data_object
TintSelection
data_object
Title
Methods
functions
CanBeWornWith
functions
GetModel
functions
HasPermissions
Static Methods
remove_circle
DressSceneObject
Clothing
Describes an item of clothing and implicitly which other items it can be worn with
class
Sandbox
.
account_tree
extends
GameResource
sealed
Sandbox.Engine
build
Constructors
1
Clothing
(
)
data_object
Properties
29
AllowTintSelect
bool
Category
ClothingCategory
What kind of clothing this is?
ConditionalModels
Dictionary`2
A list of conditional models. (key) = tag(s), (value) = model
EyesMaterial
string
Replace the eyes with this material
HasHumanSkin
bool
HeelHeight
float
Do we need to lift the heel up?
HideBody
BodyGroups
Which body parts of the player model should not show when this clothing is equipped.
HumanAltFemaleModel
string
The model to bonemerge to the human player when this clothing is equipped.
HumanAltModel
string
The model to bonemerge to the human player when this clothing is equipped.
HumanEyesMaterial
string
Replace skin with this
HumanSkinBodyGroups
UInt64
Bodygroup on the model to choose
HumanSkinMaterial
string
Replace skin with this
HumanSkinMaterialGroup
string
Bodygroup on the model to choose
HumanSkinModel
string
Model to replace the human skin with
HumanSkinTags
TagSet
Allows adding tags for this skin, ie "female". This affects which alternative clothing models are used with it.
Icon
IconSetup
Icon for this clothing piece.
MaterialGroup
string
Which material group of the model to use.
Model
string
The model to bonemerge to the player when this clothing is equipped.
Parent
obsolete
Clothing
The clothing to parent this too. It will be displayed as a variation of its parent
SkinMaterial
string
Replace the skin with this material
SlotsOver
Slots
Which slots this clothing takes on "outer" layer.
SlotsUnder
Slots
Which slots this clothing takes on "inner" layer.
SteamItemDefinitionId
Nullable`1
The Steam Item Definition ID for this clothing item, if it's an inventory item
SubCategory
obsolete
string
This should be a single word to describe the subcategory, and should match any other items you want to categorize in the same bunch. The work will be tokenized so it can become localized.
Subtitle
string
A subtitle for this clothing piece.
Tags
string
TintDefault
float
TintSelection
Gradient
Title
string
Name of the clothing to show in UI.
functions
Methods
3
CanBeWornWith
(
target
)
bool
Return true if this item of clothing can be worn with the target item, at the same time.
GetModel
(
clothingList
)
string
HasPermissions
(
)
bool
Can we wear this item?
functions
Static Methods
1
DressSceneObject
(
citizen
,
Clothing
)
obsolete
List`1
Inheritance
Resource
GameResource
Clothing
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.