QSortCriterion Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QSortCriterion

Qt 5.6.2 Reference Documentation

# QSortCriterion Class

(Qt3DRender::QSortCriterion)

Inherits: | Qt3DCore::QNode

- List of all members, including inherited members

## Public Types

enum | SortType { StateChangeCost, BackToFront, Material }

## Properties

- sort : Qt3DRender::QSortCriterion::SortType

- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject

## Public Functions

| QSortCriterion(Qt3DCore::QNode *parent = Q_NULLPTR)
| ~QSortCriterion()
SortType | sort() const

- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject

## Public Slots

void | setSort(SortType sort)

- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject

## Signals

void | sortChanged(SortType sort)

- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject

## Protected Functions

| QSortCriterion(QSortCriterionPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
void | copy(const Qt3DCore::QNode *ref)

- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject

### Additional Inherited Members

- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode

## Member Type Documentation

### enum QSortCriterion::SortType

## Property Documentation

### sort : Qt3DRender::QSortCriterion::SortType

Access functions:

SortType | sort() const
void | setSort(SortType sort)

Notifier signal:

void | sortChanged(SortType sort)

## Member Function Documentation

### QSortCriterion::QSortCriterion(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QSortCriterion.

### `[protected]` QSortCriterion::QSortCriterion(QSortCriterionPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

### QSortCriterion::~QSortCriterion()

Destroys the instance of QSortCriterion.

### `[protected]` void QSortCriterion::copy(const Qt3DCore::QNode *ref)