Navigation
API > API/Runtime > API/Runtime/DatasmithCore
| Name | IDatasmithLightActorElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithLightActorElement : public IDatasmithActorElement
Implements Interfaces
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithLightActorElement() |
IDatasmithSceneElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearColor GetColor() |
Get light color on linear mode | IDatasmithSceneElements.h | |
double GetIesBrightnessScale() |
Get the Ies brightness multiplier | IDatasmithSceneElements.h | |
const TCHAR * GetIesFile() |
Get the path of the Ies definition file - DEPRECATED in 4.26: Replaced with GetIesTexturePathName | IDatasmithSceneElements.h | |
FQuat GetIesRotation() |
Get the rotation applied to the IES shape | IDatasmithSceneElements.h | |
const TCHAR * GetIesTexturePathName() |
Get the IES texture path | IDatasmithSceneElements.h | |
double GetIntensity() |
Get light intensity | IDatasmithSceneElements.h | |
TSharedPtr< IDatasmithMaterialIDElement > & GetLightFunctionMaterial() |
Get emissive material on this light | IDatasmithSceneElements.h | |
double GetTemperature() |
Get the light temperature in Kelvin | IDatasmithSceneElements.h | |
bool GetUseIes() |
Set if this light is controlled by Ies definition file | IDatasmithSceneElements.h | |
bool GetUseIesBrightness() |
Get if the emissive amount of the ies is controlled by the brightness scale | IDatasmithSceneElements.h | |
bool GetUseTemperature() |
Get if the light color is controlled by temperature | IDatasmithSceneElements.h | |
bool IsEnabled() |
Return true on light enabled, false otherwise | IDatasmithSceneElements.h | |
void SetColor
(
FLinearColor Color |
Set light color on linear mode | IDatasmithSceneElements.h | |
void SetEnabled
(
bool bIsEnabled |
Set enable property of the light | IDatasmithSceneElements.h | |
void SetIesBrightnessScale
(
double IesBrightnessScale |
Set the Ies brightness multiplier | IDatasmithSceneElements.h | |
void SetIesFile
(
const TCHAR* IesFile |
Set the path of the Ies definition file - DEPRECATED in 4.26: Replaced with SetIesTexturePathName | IDatasmithSceneElements.h | |
void SetIesRotation
(
const FQuat& IesRotation |
Set the rotation to apply to the IES shape | IDatasmithSceneElements.h | |
void SetIesTexturePathName
(
const TCHAR* TextureName |
Set the IES texture path The path is either the name of an element attached to the scene or the path of a UE texture asset, i.e. /Game/.../TextureAssetName.TextureAssetName | IDatasmithSceneElements.h | |
void SetIntensity
(
double Intensity |
Set light intensity | IDatasmithSceneElements.h | |
void SetLightFunctionMaterial
(
const TSharedPtr< IDatasmithMaterialIDElement >& InMaterial |
Set emissive material on this light | IDatasmithSceneElements.h | |
void SetLightFunctionMaterial
(
const TCHAR* InMaterialName |
Set emissive material on this light | IDatasmithSceneElements.h | |
void SetTemperature
(
double Temperature |
Set the light temperature in Kelvin | IDatasmithSceneElements.h | |
void SetUseIes
(
bool bUseIes |
Get if this light is controlled by Ies definition file | IDatasmithSceneElements.h | |
void SetUseIesBrightness
(
bool bUseIesBrightness |
Set if the emissive amount of the ies is controlled by the brightness scale | IDatasmithSceneElements.h | |
void SetUseTemperature
(
bool bUseTemperature |
Set if the light color is controlled by temperature | IDatasmithSceneElements.h |