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