Interface: RenderLayerOptions

RenderLayerOptions

Options for configuring a RenderLayer.

Properties:
Name Type Default Description
sortableChildren boolean false

If true, the layer's children will be sorted by zIndex before rendering If false, you can manually sort the children using sortRenderLayerChildren when ever you need!

sortFunction (a: Container, b: Container) => number

Custom sort function to sort layer children. Default sorts by zIndex.

Members

sortableChildren boolean

If true, the layer's children will be sorted by zIndex before rendering If false, you can manually sort the children using sortRenderLayerChildren when ever you need!

Default Value:
  • false

sortFunction (a: Container, b: Container) => number

Custom sort function to sort layer children. Default sorts by zIndex.