Skip to content

Interface: SpriteStudioViewRef ​

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:87

SpriteStudio player for React Native.

Four layers, top to bottom:

  • L4 <SpriteStudioView> — a Skia canvas, props and a ref.
  • L3 SpriteStudioPlayer — transport, clock, events.
  • L2 SsInternalPlayer — native lifetime and one draw call per frame. Free of react/react-native.
  • L1 SsRuntimeModule — the Nitro seam onto the Brain, exported raw as the escape hatch.

Properties ​

player ​

readonly player: SpriteStudioPlayer | null

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:89

The Layer 3 player, for everything the props do not cover.