20 lines
599 B
C++
20 lines
599 B
C++
#pragma once
|
|
#include "Actor.h"
|
|
#include "Component/PointLight.h"
|
|
|
|
namespace Seele {
|
|
class PointLightActor : public Actor {
|
|
public:
|
|
PointLightActor(PScene scene);
|
|
PointLightActor(PScene scene, Vector position, float intensity, Vector color, float attenuation);
|
|
virtual ~PointLightActor();
|
|
Component::PointLight& getPointLightComponent();
|
|
const Component::PointLight& getPointLightComponent() const;
|
|
Component::Transform& getTransformComponent();
|
|
const Component::Transform& getTransformComponent() const;
|
|
|
|
private:
|
|
};
|
|
DEFINE_REF(PointLightActor)
|
|
} // namespace Seele
|