Function: SpriteStudioScene()
SpriteStudioScene(
__namedParameters):ReactNode
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioScene.tsx:77
Layer 4 — many animations, one canvas and one clock.
<SpriteStudioView> is one animation fitted to its own box, and N of them are N Skia canvases and N requestAnimationFrame loops. A scene is one of each however many sprites are in it: the tick walks its members in draw order, advances each and draws each into a single recording.
This is the arrangement Layer 3 was built for and the reason advance(dt) is externally clocked.
Ordering is z then enrolment order. Enrolment order rather than JSX order because a sprite can be nested inside any component in between, and React gives no reliable document order across that; z is the way to say it explicitly, and it is worth saying whenever it matters.
Parameters
__namedParameters
Returns
ReactNode