PixiTreeOptions
import type { PixiTreeOptions } from 'pixi-silk/ui/layers';
Options of pixiTreeAdapter.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
filter? | (child: Container) => boolean | Which children show as rows. Default every child. | ui/panels/pixi-tree.ts:7 |
icon? | (node: Container) => LayerIcon | null | The row icon. Default from the kind of display object. | ui/panels/pixi-tree.ts:11 |
leaf? | (node: Container) => boolean | Containers shown as single layers: their children stay out of the list and nothing drops inside them. Use it for components drawn from several parts. Default none. | ui/panels/pixi-tree.ts:16 |
name? | (node: Container) => string | The row name of an unnamed container. Default its kind: Group, Shape, Text or Image. | ui/panels/pixi-tree.ts:9 |