28 lines
789 B
C++
28 lines
789 B
C++
#ifndef HYDRASPAWNEDLIGHTACTOR
|
|
#define HYDRASPAWNEDLIGHTACTOR
|
|
#include "../HydraActor.h"
|
|
|
|
class CLASS_DEFINE HydraSpawnedLightActor : public HydraActor
|
|
{
|
|
private:
|
|
double m_scale = 1.0;
|
|
double m_widthscale = 1.0f;
|
|
HydraID m_material_component = INVALID_HYDRA_ID;
|
|
HydraID m_position_component = INVALID_HYDRA_ID;
|
|
HydraID m_mesh_component = INVALID_HYDRA_ID;
|
|
protected:
|
|
void _CreatePosition();
|
|
void _CreateMesh();
|
|
void _CreateMaterial();
|
|
void _CreatePhysics();
|
|
void _CreateRenderableComponent();
|
|
void _CreateLightComponent();
|
|
public:
|
|
void InitialiseComponents() override;
|
|
void DeferredInitialiseComponents() override;
|
|
|
|
|
|
};
|
|
|
|
#endif /* HYDRASPAWNEDLIGHTACTOR */
|