s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Components
Dresser
chevron_left Components
class
Dresser

Constructors

functionsDresser

Properties

data_objectApplyHeightScaledata_objectBodyTargetdata_objectClothingdata_objectIsDressingdata_objectManualAgedata_objectManualHeightdata_objectManualTintdata_objectRemoveUnownedItemsdata_objectSourcedata_objectWorkshopItems

Methods

functionsApplyfunctionsCancelDressingfunctionsClearfunctionsOnManualChangefunctionsRandomize
Dresser
Allows easily dressing a citizen or human in clothing
class Sandbox .account_tree extends Component
sealedSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter