Skip to content

Interface: SsMeasureRequest ​

Defined in: packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts:157

What to measure the content box over, and how far.

The cost is a bake per frame walked, so the scope is the caller's call: animation walks one, pack walks every animation in the file.

Properties ​

maxFrames? ​

optional maxFrames?: number

Defined in: packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts:165

Frames to walk per animation; 0 walks one authored cycle.

A cycle is right for a character and wrong for an effect, whose extent keeps growing for as long as it is simulated.


scope ​

scope: SsFrameScope

Defined in: packages/react-native-spritestudio/src/player/SpriteStudioPlayer.ts:158