unreal.DatasmithLightActorElement
¶
- class unreal.DatasmithLightActorElement(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DatasmithActorElement
UDatasmithLightActorElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
- get_color() LinearColor ¶
Get light color on linear mode
- Return type:
- get_use_ies_brightness() bool ¶
Get if the emissive amount of the ies is controlled by the brightness scale
- Return type:
- set_color(color) None ¶
Set light color on linear mode
- Parameters:
color (LinearColor) –
- set_ies_brightness_scale(ies_brightness_scale) None ¶
Set the Ies brightness multiplier
- Parameters:
ies_brightness_scale (float) –
- set_temperature(temperature) None ¶
Set the light temperature in Kelvin
- Parameters:
temperature (float) –
- set_use_ies(use_ies) None ¶
Get if this light is controlled by Ies definition file
- Parameters:
use_ies (bool) –