Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeActorLight |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeActorLight.h |
| Include Path | #include "DatasmithFacadeActorLight.h" |
Syntax
class FDatasmithFacadeActorLight : public FDatasmithFacadeActor
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeActor → FDatasmithFacadeActorLight
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeActorLight
(
const TSharedRef< IDatasmithLightActorElement >& InInternalActor |
DatasmithFacadeActorLight.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDatasmithFacadeActorLight() |
DatasmithFacadeActorLight.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetColor
(
uint8& OutR, |
Get light color in sRGB mode | DatasmithFacadeActorLight.h | |
void GetColor
(
float& OutR, |
Get light color on linear mode | DatasmithFacadeActorLight.h | |
TSharedRef< IDatasmithLightActorElement > GetDatasmithLightActorElement() |
DatasmithFacadeActorLight.h | ||
double GetIesBrightnessScale() |
Get the Ies brightness multiplier | DatasmithFacadeActorLight.h | |
const TCHAR * GetIesFile() |
Get the path of the Ies definition file | DatasmithFacadeActorLight.h | |
void GetIesRotation
(
float& OutPitch, |
Get the rotation applied to the IES shape in the form of euler angles | DatasmithFacadeActorLight.h | |
void GetIesRotation
(
float& OutX, |
Get the rotation applied to the IES shape in the form of quaternion members | DatasmithFacadeActorLight.h | |
double GetIntensity() |
Get light intensity | DatasmithFacadeActorLight.h | |
| Returns a new FDatasmithFacadeMaterialID pointing to emissive material on this light If there is no child at the given index, returned value is nullptr. | DatasmithFacadeActorLight.h | ||
double GetTemperature() |
Get the light temperature in Kelvin | DatasmithFacadeActorLight.h | |
bool GetUseIes() |
Set if this light is controlled by Ies definition file | DatasmithFacadeActorLight.h | |
bool GetUseIesBrightness() |
Get if the emissive amount of the ies is controlled by the brightness scale | DatasmithFacadeActorLight.h | |
bool GetUseTemperature() |
Get if the light color is controlled by temperature | DatasmithFacadeActorLight.h | |
bool IsEnabled() |
Return true on light enabled, false otherwise | DatasmithFacadeActorLight.h | |
void SetColor
(
float InR, |
Set the Datasmith light linear color. | DatasmithFacadeActorLight.h | |
void SetColor
(
uint8 InR, |
Set the Datasmith light sRGBA color. | DatasmithFacadeActorLight.h | |
void SetEnabled
(
bool bIsEnabled |
Set enable property of the light | DatasmithFacadeActorLight.h | |
void SetIesBrightnessScale
(
double IesBrightnessScale |
Set the Ies brightness multiplier | DatasmithFacadeActorLight.h | |
void SetIesFile
(
const TCHAR* IesFile |
Set the path of the Ies definition file | DatasmithFacadeActorLight.h | |
void SetIesRotation
(
float Pitch, |
Set the rotation to apply to the IES shape from euler angles | DatasmithFacadeActorLight.h | |
void SetIesRotation
(
float X, |
Set the rotation to apply to the IES shape in Quaternion format | DatasmithFacadeActorLight.h | |
void SetIntensity
(
double Intensity |
Set light intensity | DatasmithFacadeActorLight.h | |
void SetLightFunctionMaterial
(
FDatasmithFacadeMaterialID& InMaterial |
Set emissive material on this light | DatasmithFacadeActorLight.h | |
void SetLightFunctionMaterial
(
const TCHAR* InMaterialName |
Set emissive material on this light | DatasmithFacadeActorLight.h | |
void SetTemperature
(
double Temperature |
Set the light temperature in Kelvin | DatasmithFacadeActorLight.h | |
void SetUseIes
(
bool bUseIes |
Get if this light is controlled by Ies definition file | DatasmithFacadeActorLight.h | |
void SetUseIesBrightness
(
bool bUseIesBrightness |
Set if the emissive amount of the ies is controlled by the brightness scale | DatasmithFacadeActorLight.h | |
void SetUseTemperature
(
bool bUseTemperature |
Set if the light color is controlled by temperature | DatasmithFacadeActorLight.h | |
void WriteIESFile
(
const TCHAR* InIESFileFolder, |
DatasmithFacadeActorLight.h |