SortPolicy QML Type

Provides storage for the sort types to be used More...

Import Statement: import Qt3D.Render 2.0
Since: Qt 5.7
Instantiates: QSortPolicy


Detailed Description

A SortPolicy class stores the sorting type used by the FrameGraph. The sort types determine how drawable entities are sorted before drawing to determine the drawing order. When SortPolicy is present in the FrameGraph, the sorting mechanism is determined by the SortTypes list. Multiple sort types can be used simultanously. If SortPolicy is not present in the FrameGraph, entities are drawn in the order they appear in the entity hierarchy.

Property Documentation

sortTypes : QVariantList

Specifies the sorting types to be used.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.