QDirectionalLight Class

(Qt3DRender::QDirectionalLight)

Properties

Public Functions

QDirectionalLight(Qt3DCore::QNode *parent = Q_NULLPTR)
QVector3D direction() const

Public Slots

void setDirection(const QVector3D &direction)

Signals

void directionChanged(const QVector3D &direction)

Protected Functions

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

Additional Inherited Members

Property Documentation

direction : QVector3D

Access functions:

QVector3D direction() const
void setDirection(const QVector3D &direction)

Notifier signal:

void directionChanged(const QVector3D &direction)

Member Function Documentation

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

Default constructs an instance of QDirectionalLight.

[protected] QDirectionalLight::QDirectionalLight(QDirectionalLightPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

[protected] void QDirectionalLight::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.