Skip to content

Kuesa::Qt3D::ShadowMap

#include <shadowmap.h>

Inherits from QObject

Public Signals

Name
void lightViewProjectionChanged()

Public Functions

Name
ShadowMap(ShadowCastingLight * light, Qt3DRender::QAbstractTexture * depthTexture, QObject * parent =nullptr)
~ShadowMap()
ShadowCastingLight * light() const
Qt3DRender::QAbstractTexture * depthTexture() const
Qt3DRender::QCamera * lightCamera() const
QVariantList cubeMapProjectionMatrixList() const
bool usesCubeMap() const
void updateSceneBounds(const QVector3D & sceneCenter, float sceneRadius)
void setDepthTextureLayer(int layer)
int depthTextureLayer() const

Public Signals Documentation

signal lightViewProjectionChanged

1
void lightViewProjectionChanged()

Public Functions Documentation

function ShadowMap

1
2
3
4
5
ShadowMap(
    ShadowCastingLight * light,
    Qt3DRender::QAbstractTexture * depthTexture,
    QObject * parent =nullptr
)

function ~ShadowMap

1
~ShadowMap()

function light

1
ShadowCastingLight * light() const

function depthTexture

1
Qt3DRender::QAbstractTexture * depthTexture() const

function lightCamera

1
Qt3DRender::QCamera * lightCamera() const

function cubeMapProjectionMatrixList

1
QVariantList cubeMapProjectionMatrixList() const

function usesCubeMap

1
bool usesCubeMap() const

function updateSceneBounds

1
2
3
4
void updateSceneBounds(
    const QVector3D & sceneCenter,
    float sceneRadius
)

function setDepthTextureLayer

1
2
3
void setDepthTextureLayer(
    int layer
)

function depthTextureLayer

1
int depthTextureLayer() const

Updated on 2023-07-03 at 11:02:05 +0000