void SetLightState(const LightState &state)
LightGroup GetLightGroup() const
LightState GetLightState() const
float GetIntensity() const
void SetColor(Color color)
void SetIntensity(float intensity)
WeakPtr< LightManager > _light_manager
Light(WeakPtr< LightManager > light_manager, geom::Location location, LightId id)
const geom::Location GetLocation() const
void SetLightGroup(LightGroup group)
uint32_t LightId
定义灯光ID的类型,使用uint32_t表示。
boost::weak_ptr< T > WeakPtr
类似于SharedPtr,但提供对boost::weak_ptr的别名,用于弱引用