Skip to content

Function: schemeOf() ​

schemeOf(uri): SsUriScheme

Defined in: packages/react-native-spritestudio/src/core/assets.ts:26

How uri will be opened.

A bare relative path means the asset directory. That is the default because it is the only form that reaches a release build on both platforms with its directory intact — and a directory is what a pack is. image_path, an external_textures entry, an Instance part's external .ssab and a .ssqb's ref_anime_pack are all names relative to the .ssab.

Parameters ​

uri ​

string

Returns ​

SsUriScheme