readModelThumbnail
readModelThumbnail(
url,thumbnailOptions?):Promise<string>
A PNG data URL of the model or avatar file on a transparent background, the whole model from the front and a little above or its face straight on, rendered once per url, size and framing and kept for the page’s life. Rejects where the file fails to load or the page has no WebGL, and forgets the failure so a later call tries again.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
thumbnailOptions |
ThumbnailOptions |
Returns
Section titled “Returns”Promise<string>