Class: DisplayObject

PIXI.DisplayObject

PixiJS base class.

Members

parentGroup PIXI.layers.Group

The group in which this display object should be rendered.

This is provided by @pixi/layers.

parentLayer PIXI.layers.Layer

The layer in which this display object should be rendered; don't set this if you're using PIXI.DisplayObject#parentLayer.

This is provided by @pixi/layers.

zOrder number

Objects in a group are sorted by z-order. This can be used alongside PixiJS' built-in zIndex.

If you use both zIndex and zOrder, objects will first be sorted by z-index and then @pixi/layers will sort by z-order.

This is provided by @pixi/layers.