QParameter Class

(Qt3DRender::QParameter)
Inherits: Qt3DCore::QNode

Properties

Public Functions

QParameter(Qt3DCore::QNode *parent = Q_NULLPTR)
QParameter(const QString &name, const QVariant &value, Qt3DCore::QNode *parent = Q_NULLPTR)
QParameter(const QString &name, QAbstractTextureProvider *texture, Qt3DCore::QNode *parent = Q_NULLPTR)
~QParameter()
QString name() const
QVariant value() const

Public Slots

void setName(const QString &name)
void setValue(const QVariant &dv)

Signals

void nameChanged(const QString &name)
void valueChanged(const QVariant &value)

Protected Functions

QParameter(QParameterPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Property Documentation

name : QString

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

value : QVariant

Access functions:

QVariant value() const
void setValue(const QVariant &dv)

Notifier signal:

void valueChanged(const QVariant &value)

Member Function Documentation

QParameter::QParameter(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QParameter.

QParameter::QParameter(const QString &name, const QVariant &value, Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QParameter.

QParameter::QParameter(const QString &name, QAbstractTextureProvider *texture, Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QParameter.

[protected] QParameter::QParameter(QParameterPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

QParameter::~QParameter()

Destroys the instance of QParameter.

[protected] void QParameter::copy(const Qt3DCore::QNode *ref)

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