Skip to main content

Description

Sets the power of a source using its name. Returns 1 if the call has succeeded, 0 otherwise.

Syntax

object.SetSourcePowerByName(BSTR strLayerName, double dPowerLumen) As Int
  • object: Virtual Reality Lab object
  • strLayerName: string for the name of the source from the Virtual Lighting Controller
  • dPowerLumen: power of the source value (lm)

Example