UNPKG

phaser3-rex-plugins-types

Version:

[![npm](https://img.shields.io/npm/v/phaser3-rex-plugins-types.svg)](https://www.npmjs.com/package/phaser3-rex-plugins-types) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![B

24 lines (22 loc) 795 B
declare module 'phaser3-rex-plugins/plugins/outlinepipeline-plugin' { import BasePostFxPipelinePlugin, { BasePostFxPipelineConfig, } from 'phaser3-rex-plugins/plugins/utils/renderer/BasePostFxPipelinePlugin'; export interface OutlinePipelineConfig extends BasePostFxPipelineConfig { /** * Outline thickness */ thickness: number; /** * Outline color */ outlineColor: number; } export default class OutlinePipelinePlugin extends BasePostFxPipelinePlugin { constructor(pluginManager: Phaser.Plugins.PluginManager); add( gameObject: Phaser.GameObjects.GameObject, config: OutlinePipelineConfig, ): Phaser.Renderer.WebGL.Pipelines.PostFXPipeline; } }