Modular Character System
  • Overview
  • Setup
  • Demo Scenes
  • System Overview
    • Modular Character
    • Wearable
    • Wearable Set
      • Character Preset
      • Wearable Set Data
    • Wearable Database
    • Character Style
    • Cosmetic Styles
      • Skin Style
      • Eye Style
    • Character Morphs
  • Troubleshooting
  • Asset Updates
  • Reference
    • Scripting Guide
      • Modular Character Manager Functions
        • Wearables
          • EquipWearable
          • RemoveWearable
        • Wearable Sets
          • EquipWearableSet
          • EquipWearablePreset
          • RevertSetToDefaults
          • GenerateRandomSetFromDatabase
        • Materials
          • SetWearableMaterial
          • SetWearableMaterialArray
          • SetEyeStyle
          • SetSkinStyle
          • SetBodyMaterial
          • SetFaceMaterial
          • SetEyeMaterial
        • Character Morphs
          • SetBlendshapeOnAllMeshes
          • UpdateSetMorphValues
          • ApplySetMorphValuesToCurrentSet
          • ApplyCurrentMorphValuesToNew...
        • Face Merging
          • MergeFace
          • UnmergeFace
          • DestroyMergedFace
        • Saving and Loading
          • SaveCharacterPrefab
          • SaveCharacterPreset
          • SaveDataAsJSON
          • LoadCharacterFromJSON
      • Character Style Functions
        • GetAllWearablesOfCategory
        • GetAllNonDefaultWearablesOfCategory
        • GetWearableByName
        • CheckIfDefaultItem
      • Hidden Wearable Manager Functions
        • SetSlotStatusFromManagerType
        • AddWearableSlotToHiddenList
        • CheckHiddenListForWearable
  • Changelog
  • EXTERNAL LINKS
    • Stellar Game Assets Website
    • Join me on Discord
Powered by GitBook
On this page
  1. System Overview

Wearable Set

A pre-configured set of Wearables, Materials and Morphs.

PreviousWearableNextCharacter Preset

Last updated 2 months ago

A combination of , along with their material references and any current morph values, is defined as a Wearable Set. Applying a Wearable Set will equip everything referenced in the set at the same time.

The Wearable Set class is the core of the slot-based system. It is integrated into the Modular Character class to hold references to the currently equipped set. It is also used in Character Presets to hold all of the data.

Set Name

The name of the set

Character Style

Style Name

Wearable Slots

Current Body Style

The Skin Style currently used

Current Eye Style

The Eye Style currently used

Current Face Index

The index of the current face material in the current Skin Style

Current Body Index

The index of the current body material in the current Skin Style

Current Eye Index

The index of the current eye material in the current Eye Style

Face Material

The actual material equipped for the face

Body Material

The actual material equipped for the body

Eye Material

The actual material equipped for the eyes

Merged Face

If you've merged the cosmetics and face, this holds a reference to the merged mesh and name, along with the original material references so they can still be swapped in and out properly.

Face Morphs

The face Character Morphs used by this Wearable Set, and their values.

Body Morphs

The body Character Morphs used by this Wearable Set, and their values.

A Wearable Set can be referenced and equipped in two ways aside from the class:

The that is set is for

The name of the this set is for

An array that holds references to the current currently live mesh, and currently set materials for this slot. The indices of the array correspond to the slot category for the Wearable

Character Preset
Wearable Set Data
Character Style
Character Style
Wearable,
Wearables