Provides storage for the sort types to be used. 更多...
导入语句: | import Qt3D.Render 2.2 |
Since: | Qt 5.7 |
实例化: | QSortPolicy |
继承: | FrameGraphNode |
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 simultaneously. If SortPolicy is not present in the FrameGraph, entities are drawn in the order they appear in the entity hierarchy.
sortTypes : list < int > |
Specifies the sorting types to be used.
This list can include the following values: