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
Components
Dresser
chevron_left
Components
class
Dresser
search
Constructors
functions
Dresser
Properties
data_object
ApplyHeightScale
data_object
BodyTarget
data_object
Clothing
data_object
IsDressing
data_object
ManualAge
data_object
ManualHeight
data_object
ManualTint
data_object
RemoveUnownedItems
data_object
Source
data_object
WorkshopItems
Methods
functions
Apply
functions
CancelDressing
functions
Clear
functions
OnManualChange
functions
Randomize
Dresser
Allows easily dressing a citizen or human in clothing
class
Sandbox
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
Dresser
(
)
data_object
Properties
10
ApplyHeightScale
bool
Should we change the height too?
BodyTarget
SkinnedModelRenderer
Who are we dressing? This should be the renderer of the body of a Citizen or Human
Clothing
List`1
IsDressing
bool
True if we're dressing, in an async way
ManualAge
float
ManualHeight
float
ManualTint
float
RemoveUnownedItems
bool
When using Sandbox.Dresser.ClothingSource.OwnerConnection, strip any clothing items that are not owned in their Steam Inventory. Disable only if your game handles ownership checks itself.
Source
ClothingSource
Where to get the clothing from
WorkshopItems
List`1
functions
Methods
5
Apply
(
)
ValueTask
CancelDressing
(
)
If we're dressing in an async way - stop it.
Clear
(
)
OnManualChange
(
a
,
b
)
Called when Height, Age or Tint is changed
Randomize
(
)
Make a random outfit
Inheritance
Component
Dresser
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.