| layerIndex | The layer index. |
| mask | The AvatarWeightMask used to create the new LayerMask. |
Sets the weight mask for the current layer.
This function generates a layer mask from the specified AvatarWeightMask, and applies it to the specified Layer index. If you change the AvatarWeightMask, you need to call this function again to update the layer mask.