Encapsulate a Spot Light object in a Qt 3D scene. More...
Header: | #include <SpotLight> |
Since: | Kuesa 1.1 |
Instantiated By: | SpotLight |
Inherits: | Kuesa::ShadowCastingLight |
This class was introduced in Kuesa 1.1.
float | innerConeAngle() const |
QVector3D | localDirection() const |
float | outerConeAngle() const |
float | range() const |
void | setInnerConeAngle(float innerConeAngle) |
void | setLocalDirection(const QVector3D &localDirection) |
void | setOuterConeAngle(float outerConeAngle) |
void | setRange(float range) |
void | innerConeAngleChanged(float innerConeAngle) |
void | localDirectionChanged(const QVector3D &localDirection) |
void | outerConeAngleChanged(float outerConeAngle) |
void | rangeChanged(float range) |
Specifies the angle from center of the spot light where light begins to fall off. The value must be greater than or equal to 0 and less than outerConeAngle.
Access functions:
float | innerConeAngle() const |
void | setInnerConeAngle(float innerConeAngle) |
Notifier signal:
void | innerConeAngleChanged(float innerConeAngle) |
Specifies the local direction of the spot light. Local direction is affected by parent transform rotations.
Access functions:
QVector3D | localDirection() const |
void | setLocalDirection(const QVector3D &localDirection) |
Notifier signal:
void | localDirectionChanged(const QVector3D &localDirection) |
Specifies the cut off angle of the spot light. Objects outside this angle receives no light from the SpotLight. The value must be greater than innerConeAngle and less than or equal to 180.
Access functions:
float | outerConeAngle() const |
void | setOuterConeAngle(float outerConeAngle) |
Notifier signal:
void | outerConeAngleChanged(float outerConeAngle) |
Specifies the destance at which the light intensity may be considered to have reached zero and has no effect. A range of 0 (default) indicates infinite range
Access functions:
float | range() const |
void | setRange(float range) |
Notifier signal:
void | rangeChanged(float range) |