Skip to content

createAvatarRenderer

createAvatarRenderer(canvas, opts?): AvatarRenderer

The avatars on a canvas of their own, with the engine’s renderer (WebGL2, WebGL1 or Canvas 2D, chosen as the engine chooses), its own atlas and the SDK’s smoothing and interpolation. For pages that are not engine games: the TV’s calibration, the simulator’s preview. Throws only if the page has neither WebGL nor Canvas 2D.

HTMLCanvasElement

AvatarRendererOptions

AvatarRenderer