OptionalaccessoriesHolds all accessories that are available for the virtual tryon in this collection
OptionalavatarsHolds all avatars that are available for the virtual tryon in this collection
OptionalfallbackThese garments are dressed for certain garment groups (shirts, etc.) in case currently no other garment is selected in this group. With this setting it can be prevented to show avatars in half-naked states in the virtual dressing room, by falling back to the garments in this list.
OptionalgarmentsHolds all garments that are available for the virtual tryon in this collection
OptionalinfoThis object holds generic information on the collection, like the name, a link to the collection (for example a PLP), and a logo url to represent the collection.
OptionaloutfitsHolds all outfit assets, these are precalculated outfit assets, that are shown in the initial carusel.
OptionalscenesHolds all scenes that are available for the virtual tryon in this collection
OptionalsettingsThese settings enable customization of the VSC behaviour based on the collection.
A collection descripes everything that is shown in a PICTOFiT Virtual Styling Component.
It contains the available avatars, the available scenes, all available garments, as well as the predefined outfits.
Reactive Reality is creating these collections and will provide a reference, to allow fetching of these collections via a centralized system.
IVirtualStylingBuilder.getCollection can be used to fetch such a collection from this centralized system.
During the build a json schema for this interface it generated and available in the location
src/schema/collection.schema.jsonof the npm package.