QAbstractLight Class
(Qt3D::QAbstractLight)Header: | #include <QAbstractLight> |
qmake: | QT += 3drenderer |
Inherits: | QShaderData |
Inherited By: |
Properties
- color : QColor
- intensity : float
- position : QVector3D
- positionTransformed : const TransformType
Public Functions
QAbstractLight(QNode * parent = 0) | |
QColor | color() const |
float | intensity() const |
QVector3D | position() const |
TransformType | positionTransformed() const |
void | setColor(const QColor & color) |
void | setIntensity(float intensity) |
void | setPosition(const QVector3D & position) |
- 1 public function inherited from Qt3D::QShaderData
Signals
void | colorChanged() |
void | intensityChanged() |
void | positionChanged() |
Protected Functions
void | copy(const QNode * ref) |
- 1 protected function inherited from Qt3D::QShaderData
Detailed Description
Property Documentation
color : QColor
Holds the current QAbstractLight color.
Access functions:
QColor | color() const |
void | setColor(const QColor & color) |
Notifier signal:
void | colorChanged() |
intensity : float
Holds the current QAbstractLight intensity.
Access functions:
float | intensity() const |
void | setIntensity(float intensity) |
Notifier signal:
void | intensityChanged() |
position : QVector3D
Holds the current QAbstractLight position.
Access functions:
QVector3D | position() const |
void | setPosition(const QVector3D & position) |
Notifier signal:
void | positionChanged() |
positionTransformed : const TransformType
Access functions:
TransformType | positionTransformed() const |
© 2016 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.