Files
HydraV3/HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.h
T

28 lines
789 B
C++
Raw Normal View History

2026-08-25 22:10:54 +01:00
#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();
2026-08-28 16:36:25 +01:00
void _CreateLightComponent();
2026-08-25 22:10:54 +01:00
public:
void InitialiseComponents() override;
void DeferredInitialiseComponents() override;
};
#endif /* HYDRASPAWNEDLIGHTACTOR */