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