Skip to main content
Skip table of contents

Custom Avatars Provider

The custom avatars provider is necessary to enable the custom mannequin generation feature in the modal dressing room. It needs methods to store and load assets and metadata based on identifiers.

We do provide a default implementation that stores these avatars in the browser, which can be used when constructing the HostAdaptor. This implementation is available in the @pictofit/public-types packages in the /host-adaptors module.

https://cdn.pictofit.com/pictofit-web-components/v0.1.73/docs/classes/hostadaptors.avatarproviders.localcustomavatars

The interface that has to be implemented for such a custom avatar provider is defined here: https://cdn.pictofit.com/pictofit-web-components/v0.1.73/docs/interfaces/index.mannequincreation.mutableavatarprovider

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.