Skip to main content

Description

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

Syntax

object.SetSourceRatioByName(BSTR strLayerName, double dRatio) As Int
  • object: Virtual Reality Lab object
  • strLayerName: string for the name of the source from the Virtual Lighting Controller
  • dRatio: ratio defining the power of the source (%)

Example