Click or drag to resize

LightManagerSupportSetLightSolo Method

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

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public virtual bool SetLightSolo(
	RhinoDoc doc,
	Guid uuid_light,
	bool bSolo


Type: RhinoRhinoDoc

[Missing <param name="doc"/> documentation for "M:Rhino.Render.LightManagerSupport.SetLightSolo(Rhino.RhinoDoc,System.Guid,System.Boolean)"]

Type: SystemGuid

[Missing <param name="uuid_light"/> documentation for "M:Rhino.Render.LightManagerSupport.SetLightSolo(Rhino.RhinoDoc,System.Guid,System.Boolean)"]

Type: SystemBoolean

[Missing <param name="bSolo"/> documentation for "M:Rhino.Render.LightManagerSupport.SetLightSolo(Rhino.RhinoDoc,System.Guid,System.Boolean)"]

Return Value

Type: Boolean
Returns true if action is successful
See Also