s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
ClothingContainer
ApplyEyes
chevron_left Classes
class
ClothingContainer

Constructors

functionsClothingContainer

Fields

crop_dinClothing

Properties

data_objectAgedata_objectChestSizedata_objectChinSizedata_objectDisplayNamedata_objectEyeAligndata_objectEyeColordata_objectHeadShapedata_objectHeightdata_objectNeckSizedata_objectNoseSizedata_objectPrefersHumandata_objectTintdata_objectWaistSize

Methods

functionsAddfunctionsAddRangeremove_circleApplyremove_circleApplyAsyncremove_circleApplyDeformsremove_circleApplyEyesfunctionsDeserializefunctionsFindEntryfunctionsGetBodyGroupsfunctionsHasfunctionsNormalizefunctionsRemoveUnownedItemsremove_circleResetfunctionsSerializefunctionsToggle

Static Methods

functionsCreateFromConnectionfunctionsCreateFromJsonfunctionsCreateFromLocalUser
ApplyEyes
Updates eye render attributes on the body and clothing without rebuilding the outfit. Materials using the procedural eye shader consume these per-renderer values.
methodobsolete
void ApplyEyes (SkinnedModelRenderer body)
Obsolete. Use Dresser.UpdateAppearance instead.

Parameters

NameTypeDescription
body SkinnedModelRenderer
Declared in Sandbox.ClothingContainer ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter