Files
Seele/src/Engine/Actor/PointLightActor.h
T

18 lines
468 B
C++
Raw Normal View History

2023-03-09 17:39:57 +01:00
#pragma once
#include "Actor.h"
#include "Component/PointLight.h"
2024-06-09 12:20:04 +02:00
namespace Seele {
class PointLightActor : public Actor {
public:
2023-03-09 17:39:57 +01:00
PointLightActor(PScene scene);
2024-02-01 17:07:51 +01:00
PointLightActor(PScene scene, Vector position, Vector color, float attenuation);
2023-03-09 17:39:57 +01:00
virtual ~PointLightActor();
Component::PointLight& getPointLightComponent();
const Component::PointLight& getPointLightComponent() const;
2024-06-09 12:20:04 +02:00
private:
2023-03-09 17:39:57 +01:00
};
DEFINE_REF(PointLightActor)
} // namespace Seele