Fires when a user pressed button "Next".
@event
Fires when a user changed asset on the avatar. Only works with sessions created with Avaturn API.
Fires when a user changed body of the avatar. Only works with sessions created with Avaturn API.
Internal
changeFires when user changed a parameter (currently only hair color is supported). Only works with sessions created with Avaturn API.
Load event fires when avatar editor is fully loaded and ready to show avatar. Only works with sessions created with Avaturn API.
sdk.on('load', (data) => {
log('[callback] Avatar exported: ' + data);
})
Event types to listen with
sdk.on()