# LightManagerSupport class

Namespace: [Rhino.Render](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.render.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public abstract class LightManagerSupport
```

Base class for implementing custom light managers in .NET

## Constructors

- [LightManagerSupport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/ctor.md): Default constructor

## Methods

- [DeleteLight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/deletelight.md): Delete light
- [GetLights](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/getlights.md): Get all the lights that are associated to the light manager. The lights are added to the LightArray parameter passed to the GetLights method
- [GetLightSolo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/getlightsolo.md): Returns the value of "ON_LIght::m_bOn" if the light is in solo storage, or false if not in solo storage (ie - this is the checkbox state on the light manager dialog)
- [GroupLights](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/grouplights.md): Creates a new group with the lights
- [LightDescription](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/lightdescription.md): Gets the string representation of the light description
- [LightFromId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/lightfromid.md): Get Rhino.Geometry.Light object associated to Guig uuid
- [LightsInSoloStorage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/lightsinsolostorage.md): Returns the number of lights in solo storage - any number other than 0 means "in solo mode"
- [ModifyLight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/modifylight.md): Modify properties of the light
- [ObjectSerialNumberFromLight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/objectserialnumberfromlight.md): Get the object serial number of the light
- [OnCustomLightEvent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/oncustomlightevent.md): Generates LightMangerSupportCustomEvent: light_added, light_deleted, light_undeleted, light_modified, light_sorted, The event triggers a Light table event that the rdk lightmanager listens too
- [OnEditLight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/oneditlight.md): The default implementation of OnEditLight selects the lights and opens the Lights Properties page
- [PluginId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/pluginid.md): The Guid of the plugin
- [RegisterLightManager](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/registerlightmanager.md): (static) Find and register classes that derive from LightManagerSupport from the given plug-in.
- [RegisterProviders](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/registerproviders.md): (static) Find and register classes that derive from RealtimeDisplayMode from the given plug-in. The plug-in is found in the given assembly
- [RenderEngineId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/renderengineid.md): The Guid of the render engine
- [SetLightSolo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/setlightsolo.md): First checks to see if we are in "solo mode" - which means that there are any lights that respond "true" to IsInSoloStorage. If in solo mode: If bSolo = true Sets this light on. If bSolo = false If this is the last light "on", forces all lights out of solo mode. If there are other lights on, turns this light off. If not in solo mode: If bSolo = true Forces all lights into solo storage and sets this light on. If bSolo = false This shouldn't happen. Will cause an ASSERT
- [UnGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.lightmanagersupport/ungroup.md): UnGroups the lights
