PlayerWrapper.setAvatarData() method

Set the avatar data used to create the avatar component for the player

Signature:

setAvatarData(data: any): void;

Parameters

ParameterTypeDescription
dataany

Returns:

void

Remarks

this must be set in the onPreload handle of the script, before the avatar component is created