Bases: DatasmithActorElement
UDatasmithLightActorElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
-
get_color() → LinearColor
Get light color on linear mode
- Return type:
LinearColor
-
get_ies_brightness_scale() → float
Get the Ies brightness multiplier
- Return type:
float
-
get_ies_file() → str
Get the path of the Ies definition file
- Return type:
str
-
get_intensity() → float
Get light intensity
- Return type:
float
-
get_temperature() → float
Get the light temperature in Kelvin
- Return type:
float
-
get_use_ies() → bool
Set if this light is controlled by Ies definition file
- Return type:
bool
-
get_use_ies_brightness() → bool
Get if the emissive amount of the ies is controlled by the brightness scale
- Return type:
bool
-
get_use_temperature() → bool
Get if the light color is controlled by temperature
- Return type:
bool
-
is_enabled() → bool
Return true on light enabled, false otherwise
- Return type:
bool
-
set_color(color) → None
Set light color on linear mode
- Parameters:
color (LinearColor)
-
set_enabled(is_enabled) → None
Set enable property of the light
- Parameters:
is_enabled (bool)
-
set_ies_brightness_scale(ies_brightness_scale) → None
Set the Ies brightness multiplier
- Parameters:
ies_brightness_scale (float)
-
set_ies_file(ies_file) → None
Set the path of the Ies definition file
- Parameters:
ies_file (str)
-
set_intensity(intensity) → None
Set light intensity
- Parameters:
intensity (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)
-
set_use_ies_brightness(use_ies_brightness) → None
Set if the emissive amount of the ies is controlled by the brightness scale
- Parameters:
use_ies_brightness (bool)
-
set_use_temperature(use_temperature) → None
Set if the light color is controlled by temperature
- Parameters:
use_temperature (bool)