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

#include <Components.h>

Public Attributes

glm::vec3 Color { 1.0f, 1.0f, 1.0f }
float Intensity = 1.0f
bool CastShadows = true
float ShadowBias = 0.002f

Detailed Description

Definition at line 193 of file Components.h.

Member Data Documentation

◆ CastShadows

bool NoJob::DirectionalLightComponent::CastShadows = true

Definition at line 197 of file Components.h.

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

◆ Color

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

Definition at line 195 of file Components.h.

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

◆ Intensity

float NoJob::DirectionalLightComponent::Intensity = 1.0f

Definition at line 196 of file Components.h.

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

◆ ShadowBias

float NoJob::DirectionalLightComponent::ShadowBias = 0.002f

Definition at line 198 of file Components.h.

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


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