QGeometry Class

(Qt3DRender::QGeometry)

Properties

Public Functions

QGeometry(Qt3DCore::QNode *parent = nullptr)
void addAttribute(Qt3DRender::QAttribute *attribute)
QVector<QAttribute *> attributes() const
QAttribute *boundingVolumePositionAttribute() const
void removeAttribute(Qt3DRender::QAttribute *attribute)

Public Slots

void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Signals

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

Protected Functions

QGeometry(QGeometryPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Additional Inherited Members

  • 11 static public members inherited from QObject

Detailed Description

Property Documentation

boundingVolumePositionAttribute : Qt3DRender::QAttribute *

Holds atribute used to compute the bounding volume .

Access functions:

QAttribute *boundingVolumePositionAttribute() const
void setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute)

Notifier signal:

void boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute)

Member Function Documentation

QGeometry::QGeometry(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QGeometry.

[protected] QGeometry::QGeometry(QGeometryPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Copy constructor.

void QGeometry::addAttribute(Qt3DRender::QAttribute *attribute)

QVector<QAttribute *> QGeometry::attributes() const

Returns the list of attributes in this geometry.

void QGeometry::removeAttribute(Qt3DRender::QAttribute *attribute)

© 2017 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.