Loading...
Searching...
No Matches
hellfire::SpotLight Class Reference

#include <SpotLight.h>

Collaboration diagram for hellfire::SpotLight:

Static Public Member Functions

static Entitycreate (const std::string &name="SpotLight", const glm::vec3 &position=glm::vec3(0.0f), const glm::vec3 &direction=glm::vec3(0.0f, -1.0f, 0.0f), const glm::vec3 &color=glm::vec3(1.0f), float intensity=1.0f, float range=10.0f, float inner_angle=30.0f, float outer_angle=45.0f)
 

Detailed Description

Definition at line 10 of file SpotLight.h.

Member Function Documentation

◆ create()

static Entity * hellfire::SpotLight::create ( const std::string &  name = "SpotLight",
const glm::vec3 &  position = glm::vec3(0.0f),
const glm::vec3 &  direction = glm::vec3(0.0f, -1.0f, 0.0f),
const glm::vec3 &  color = glm::vec3(1.0f),
float  intensity = 1.0f,
float  range = 10.0f,
float  inner_angle = 30.0f,
float  outer_angle = 45.0f 
)
inlinestatic

Definition at line 12 of file SpotLight.h.


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