Kuesa::Qt3D::DirectionalLight
Module: Kuesa Qt 3D API
Encapsulate a Directional Light object in a Qt 3D scene. More...
#include <Kuesa/Qt3D/api/lights/directionallight.h>
Inherits from Kuesa::Qt3D::ShadowCastingLight, Qt3DRender::QAbstractLight
Public Types
Public Slots
Public Signals
Public Functions
Protected Functions
|
Name |
|
DirectionalLight(DirectionalLightPrivate & 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::DirectionalLight;
|
Encapsulate a Directional Light object in a Qt 3D scene.
Since: Kuesa 2.0
Public Types Documentation
enum DirectionMode
Enumerator |
Value |
Description |
World |
0 |
|
Local |
|
|
Public Slots Documentation
slot setDirection
| void setDirection(
const QVector3D & direction
)
|
slot setDirectionMode
| void setDirectionMode(
Kuesa::Qt3D::DirectionalLight::DirectionMode directionMode
)
|
Public Signals Documentation
signal directionChanged
| void directionChanged(
const QVector3D & direction
)
|
signal directionModeChanged
| void directionModeChanged(
Kuesa::Qt3D::DirectionalLight::DirectionMode directionMode
)
|
Public Functions Documentation
function DirectionalLight
| explicit DirectionalLight(
Qt3DCore::QNode * parent =nullptr
)
|
function ~DirectionalLight
function direction
| QVector3D direction() const
|
function directionMode
| Kuesa::Qt3D::DirectionalLight::DirectionMode directionMode() const
|
Protected Functions Documentation
function DirectionalLight
| explicit DirectionalLight(
DirectionalLightPrivate & dd,
Qt3DCore::QNode * parent =nullptr
)
|
Public Property Documentation
property direction
Encapsulate a Directional Light object in a Qt 3D scene.
Since: Kuesa 2.0
Specifies the direction of the light. If the directionType is Local, the light direction wil lbe transformed by any rotations in parent nodes. If the directionType is World, the direction is unaffected by any transformations in parent nodes.
property directionMode
| Kuesa::Qt3D::DirectionalLight::DirectionMode directionMode;
|
Specifies the direction of the light. If the directionType is Specifies whether the direction property should be interpreted as a world or local direction. Local directions inherit parent node rotation transformations and World directions do not. The default is World.
Updated on 2023-07-03 at 11:02:11 +0000