Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

• Function: int getLightEmissionType( int index );
• Description: Returns the emission type of the light with the given index.

  • 0 = COLOR + LUMINANCE

  • 1 = TEMPERATURE

  • 2 = MULTIEMITTER (more than one emitter layer)

  • 3 = IES

  • 4 = SKY

  • 5 = HDRI

• Parameters: INT index: Index of the light
• Returned Value: INT: Emission type

...

• Function: int getLightEmissionColorType( int index );
• Description: Returns the emission color type of the light with the given index.

  • 0 = RGB

  • 1 = CORRELATED TEMPERATURE

• Parameters: INT index: Index of the light
• Returned Value: INT: Emission color type

...

• Function: nt getLightLuminanceType( int index );
• Description: Returns the luminance type of the light with the given index. The luminance type is only used when the emission type is set to

  • 0 = WATTS + EFFICACY

  • 1 = LUMENS

  • 2 = LUX

  • 3 = CANDELA

  • 4 = LUMINANCE

• Parameters: INT index: Index of the light
• Returned Value: INT: Emission luminance type

...