2027 Method
Changes 0
M

LightGroupManager.SetLightOn

Description:
Turns the given light on or off for rendering the given view depending on the bool argument
public void SetLightOn(
	ElementId viewId,
	ElementId lightId,
	bool turnOn
)
  • viewId
    The Id of the view
  • lightId
    The Id of the light to turn on or off
  • Boolean
    turnOn
    Turns the light on if true, off if false
  • The given element Id does not correspond to a 3d view -or- The given element Id does not correspond to a light instance
  • A non-optional argument was null