| environmentlight.cpp |
|
1007 |
- |
| environmentlight_p.h |
|
1078 |
- |
| light.cpp |
|
1909 |
- |
| light_p.h |
|
1457 |
- |
| lightsource.cpp |
|
537 |
- |
| lightsource_p.h |
|
940 |
- |
| qabstractlight.cpp |
!
\qmltype Light
\inqmlmodule Qt3D.Render
\nativetype Qt3DRender::QAbstractLight
\brief Encapsulate a QAbstractLight object in a Qt 3D scene.
\since 5.6
|
3001 |
- |
| qabstractlight.h |
|
1401 |
- |
| qabstractlight_p.h |
|
1036 |
- |
| qdirectionallight.cpp |
Expected Shader struct
\code
struct DirectionalLight
{
vec3 position;
vec3 worldDirection;
vec4 color;
float intensity;
};
uniform DirectionalLight directionalLights[10];
\endcode
|
2972 |
- |
| qdirectionallight.h |
|
1105 |
- |
| qdirectionallight_p.h |
|
919 |
- |
| qenvironmentlight.cpp |
! \internal |
7638 |
- |
| qenvironmentlight.h |
|
1572 |
- |
| qenvironmentlight_p.h |
|
1139 |
- |
| qpointlight.cpp |
Expected Shader struct
\code
struct PointLight
{
vec3 position;
vec4 color;
float intensity;
};
uniform PointLight pointLights[10];
\endcode
|
5599 |
- |
| qpointlight.h |
|
1567 |
- |
| qpointlight_p.h |
|
873 |
- |
| qspotlight.cpp |
Expected Shader struct
\code
struct SpotLight
{
vec3 position;
vec3 localDirection;
vec4 color;
float intensity;
float cutOffAngle;
};
uniform SpotLight spotLights[10];
\endcode
|
7318 |
- |
| qspotlight.h |
|
2086 |
- |
| qspotlight_p.h |
|
877 |
- |