LogoPixi’VN
pixi-jsInterfaces

Interface: ExtensionFormatLoose

Defined in: node_modules/pixi.js/lib/extensions/Extensions.d.ts:76

Format when registering an extension. Generally, the extension should have these values as extension static property, but you can override name or type by providing an object.

Advanced

Properties

name?

> optional name?: string

Defined in: node_modules/pixi.js/lib/extensions/Extensions.d.ts:80

Optional. Some plugins provide an API name/property, such as Renderer plugins


priority?

> optional priority?: number

Defined in: node_modules/pixi.js/lib/extensions/Extensions.d.ts:82

Optional, used for sorting the plugins in a particular order


ref

> ref: any

Defined in: node_modules/pixi.js/lib/extensions/Extensions.d.ts:84

Reference to the plugin object/class


type

> type: ExtensionType | ExtensionType[]

Defined in: node_modules/pixi.js/lib/extensions/Extensions.d.ts:78

The extension type, can be multiple types