NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::SpotLightComponent Struct Reference

#include <Components.h>

Public Attributes

glm::vec3 Color { 1.0f, 1.0f, 1.0f }
float Intensity = 1.0f
float Range = 10.0f
float InnerAngle = 20.0f
float OuterAngle = 30.0f
bool CastShadows = true
float ShadowBias = 0.002f

Detailed Description

Definition at line 210 of file Components.h.

Member Data Documentation

◆ CastShadows

bool NoJob::SpotLightComponent::CastShadows = true

Definition at line 217 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and main().

◆ Color

glm::vec3 NoJob::SpotLightComponent::Color { 1.0f, 1.0f, 1.0f }

Definition at line 212 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and NoJob::SceneSerializer::Save().

◆ InnerAngle

float NoJob::SpotLightComponent::InnerAngle = 20.0f

Definition at line 215 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Intensity

float NoJob::SpotLightComponent::Intensity = 1.0f

Definition at line 213 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), main(), and NoJob::SceneSerializer::Save().

◆ OuterAngle

float NoJob::SpotLightComponent::OuterAngle = 30.0f

Definition at line 216 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Range

float NoJob::SpotLightComponent::Range = 10.0f

Definition at line 214 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and main().

◆ ShadowBias

float NoJob::SpotLightComponent::ShadowBias = 0.002f

Definition at line 218 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().


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