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

#include <Components.h>

Public Attributes

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

Detailed Description

Definition at line 201 of file Components.h.

Member Data Documentation

◆ CastShadows

bool NoJob::PointLightComponent::CastShadows = true

Definition at line 206 of file Components.h.

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

◆ Color

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

Definition at line 203 of file Components.h.

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

◆ Intensity

float NoJob::PointLightComponent::Intensity = 1.0f

Definition at line 204 of file Components.h.

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

◆ Range

float NoJob::PointLightComponent::Range = 10.0f

Definition at line 205 of file Components.h.

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

◆ ShadowBias

float NoJob::PointLightComponent::ShadowBias = 0.02f

Definition at line 207 of file Components.h.

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


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