drawSprite(opt: DrawSpriteOpt): void
Draw a sprite.
param
opt- The draw sprite options.
drawSprite({ sprite: "bean", pos: vec2(100, 200), frame: 3, });
since
v2000.0
Draw a sprite.
param
opt- The draw sprite options.
drawSprite({ sprite: "bean", pos: vec2(100, 200), frame: 3, });
since
v2000.0