QSpotLight Class

(Qt3D::QSpotLight)
Header: #include <QSpotLight>
qmake: QT += 3drenderer
Since: Qt 5.5
Instantiated By: SpotLight
Inherits: QAbstractLight

Properties

Public Functions

QSpotLight(QNode * parent = 0)
float cutOffAngle() const
QVector3D direction() const
void setCutOffAngle(float cutOffAngle)
void setDirection(const QVector3D & direction)

Signals

Protected Functions

void copy(const QNode * ref)

Detailed Description

Property Documentation

cutOffAngle : float

Access functions:

float cutOffAngle() const
void setCutOffAngle(float cutOffAngle)

Notifier signal:

void cutOffAngleChanged()

direction : QVector3D

Access functions:

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

Notifier signal:

void directionChanged()

Member Function Documentation

QSpotLight::QSpotLight(QNode * parent = 0)

Constructs a new QSpotLight with the specified parent.

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

Copies the ref instance into this one.

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