Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGGltf::Light Struct Reference

#include <qssggltfdocument_p.h>

Collaboration diagram for QSSGGltf::Light:

Public Types

enum class  Type { Directional , Point , Spot }

Public Attributes

Type type = Type::Directional
QVector3D color { 1.0f, 1.0f, 1.0f }
float intensity = 1.0f
float range = 0.0f
float innerConeAngle = 0.0f
float outerConeAngle = qDegreesToRadians(45.0f)
QString name

Detailed Description

Definition at line 393 of file qssggltfdocument_p.h.

Member Enumeration Documentation

◆ Type

enum class QSSGGltf::Light::Type
strong
Enumerator
Directional 
Point 
Spot 

Definition at line 395 of file qssggltfdocument_p.h.

Member Data Documentation

◆ color

QVector3D QSSGGltf::Light::color { 1.0f, 1.0f, 1.0f }

Definition at line 402 of file qssggltfdocument_p.h.

◆ innerConeAngle

float QSSGGltf::Light::innerConeAngle = 0.0f

Definition at line 406 of file qssggltfdocument_p.h.

◆ intensity

float QSSGGltf::Light::intensity = 1.0f

Definition at line 403 of file qssggltfdocument_p.h.

◆ name

QString QSSGGltf::Light::name

◆ outerConeAngle

float QSSGGltf::Light::outerConeAngle = qDegreesToRadians(45.0f)

Definition at line 407 of file qssggltfdocument_p.h.

◆ range

float QSSGGltf::Light::range = 0.0f

Definition at line 404 of file qssggltfdocument_p.h.

◆ type

Type QSSGGltf::Light::type = Type::Directional

Definition at line 401 of file qssggltfdocument_p.h.


The documentation for this struct was generated from the following file: