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

20 lines
599 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);
2025-03-13 08:23:00 +01:00
PointLightActor(PScene scene, Vector position, float intensity, Vector color, float attenuation);
2023-03-09 17:39:57 +01:00
virtual ~PointLightActor();
Component::PointLight& getPointLightComponent();
const Component::PointLight& getPointLightComponent() const;
2025-05-07 16:08:12 +02:00
Component::Transform& getTransformComponent();
const Component::Transform& getTransformComponent() const;
2024-06-09 12:20:04 +02:00
private:
2023-03-09 17:39:57 +01:00
};
DEFINE_REF(PointLightActor)
} // namespace Seele