Kuesa::Qt3D::SpotLight
Module: Kuesa Qt 3D API
Encapsulate a Spot Light object in a Qt 3D scene. More...
#include <spotlight.h>
Inherits from Kuesa::Qt3D::ShadowCastingLight, Qt3DRender::QAbstractLight
Public Slots
Public Signals
Public Functions
Protected Functions
|
Name |
|
SpotLight(SpotLightPrivate & dd, Qt3DCore::QNode * parent =nullptr) |
Public Properties
Additional inherited members
Public Slots inherited from Kuesa::Qt3D::ShadowCastingLight
Public Signals inherited from Kuesa::Qt3D::ShadowCastingLight
Public Functions inherited from Kuesa::Qt3D::ShadowCastingLight
Protected Functions inherited from Kuesa::Qt3D::ShadowCastingLight
|
Name |
|
ShadowCastingLight(ShadowCastingLightPrivate & dd, Qt3DCore::QNode * parent =nullptr) |
Public Properties inherited from Kuesa::Qt3D::ShadowCastingLight
Detailed Description
| class Kuesa::Qt3D::SpotLight;
|
Encapsulate a Spot Light object in a Qt 3D scene.
Since: Kuesa 2.0
Public Slots Documentation
slot setLocalDirection
| void setLocalDirection(
const QVector3D & localDirection
)
|
slot setInnerConeAngle
| void setInnerConeAngle(
float innerConeAngle
)
|
slot setOuterConeAngle
| void setOuterConeAngle(
float outerConeAngle
)
|
slot setRange
| void setRange(
float range
)
|
Public Signals Documentation
signal localDirectionChanged
| void localDirectionChanged(
const QVector3D & localDirection
)
|
signal innerConeAngleChanged
| void innerConeAngleChanged(
float innerConeAngle
)
|
signal outerConeAngleChanged
| void outerConeAngleChanged(
float outerConeAngle
)
|
signal rangeChanged
| void rangeChanged(
float range
)
|
Public Functions Documentation
function SpotLight
| explicit SpotLight(
Qt3DCore::QNode * parent =nullptr
)
|
function ~SpotLight
function localDirection
| QVector3D localDirection() const
|
function innerConeAngle
| float innerConeAngle() const
|
function outerConeAngle
| float outerConeAngle() const
|
function range
Protected Functions Documentation
function SpotLight
| explicit SpotLight(
SpotLightPrivate & dd,
Qt3DCore::QNode * parent =nullptr
)
|
Public Property Documentation
property localDirection
| QVector3D localDirection;
|
Encapsulate a Spot Light object in a Qt 3D scene.
Since: Kuesa 2.0
Specifies the local direction of the spot light. Local direction is affected by parent transform rotations.
property innerConeAngle
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.
property outerConeAngle
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.
property range
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
Updated on 2023-07-03 at 11:02:12 +0000