18 lines
432 B
C++
18 lines
432 B
C++
#pragma once
|
|||
|
|
#include "Actor.h"
|
||
|
|
#include "Component/DirectionalLight.h"
|
||
|
|
|
||
|
|
namespace Seele
|
||
|
|
{
|
||
|
|
class DirectionalLightActor : public Actor
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
DirectionalLightActor(PScene scene);
|
||
|
|
virtual ~DirectionalLightActor();
|
||
|
|
Component::DirectionalLight& getDirectionalLightComponent();
|
||
|
|
const Component::DirectionalLight& getDirectionalLightComponent() const;
|
||
|
|
private:
|
||
|
|
};
|
||
|
|
DEFINE_REF(DirectionalLightActor)
|
||
|
|
} // namespace Seele
|