Function: createSprite()
createSprite(
width,height,renderable):Sprite
Defined in: rendering/utilities/create-sprite.ts:11
Creates a sprite using the provided material and render context.
Parameters
width
number
The width of the sprite.
height
number
The height of the sprite.
renderable
The renderable to use for the sprite.
Returns
The created sprite.