DrawAvatar
DrawAvatar = (
ctx,who,player?,box?,options?) =>Body|null
Draws an avatar; returns the body it was posed with (smoothed unless smooth: false, interpolated for this animation frame unless interpolate: false), or null if it drew nothing.
Parameters
Section titled “Parameters”CanvasRenderingContext2D
player?
Section titled “player?”number | string
AvatarBox | null
options?
Section titled “options?”Returns
Section titled “Returns”Body | null