API
Babylon Lite API
|
createSprite2DLayer
…
|
Babylon Lite API
|
createSprite2DLayer
createSprite2DLayer
Function createSprite2DLayer
createSprite2DLayer
(
atlas
:
SpriteAtlas
,
opts
?:
Sprite2DLayerOptions
,
)
:
Sprite2DLayer
Create a new (empty)
Sprite2DLayer
backed by
atlas
.
Parameters
atlas
:
SpriteAtlas
opts
:
Sprite2DLayerOptions
= {}
Returns
Sprite2DLayer
Create a new (empty)
Sprite2DLayerbacked byatlas.