Skip to content
pixi-silk
GitHub repository
Interface

PixiTreeOptions

import type { PixiTreeOptions } from 'pixi-silk/ui/layers';

Options of pixiTreeAdapter.

Properties#

PropertyTypeDescriptionDefined in
filter?(child: Container) => booleanWhich children show as rows. Default every child.ui/panels/pixi-tree.ts:7
icon?(node: Container) => LayerIcon | nullThe row icon. Default from the kind of display object.ui/panels/pixi-tree.ts:11
leaf?(node: Container) => booleanContainers 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) => stringThe row name of an unnamed container. Default its kind: Group, Shape, Text or Image.ui/panels/pixi-tree.ts:9