Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithActorElement
- IDatasmithLightActorElement
- IDatasmithDirectionalLightElement
- IDatasmithEnvironmentElement
- IDatasmithPointLightElement
- IDatasmithLightmassPortalElement
- IDatasmithSpotLightElement
- IDatasmithAreaLightElement
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithLightActorElement : public IDatasmithActorElement
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | GetColor () |
Get light color on linear mode | |
| double | Get the Ies brightness multiplier | ||
| const TCHAR * | GetIesFile () |
Get the path of the Ies definition file - DEPRECATED in 4.26: Replaced with GetIesTexturePathName | |
| FQuat | Get the rotation applied to the IES shape | ||
| const TCHAR * | Get the IES texture path | ||
| double | GetIntensity () |
Get light intensity | |
| TSharedPtr< IDatasmithMaterialIDElement > & | Get emissive material on this light | ||
| double | Get the light temperature in Kelvin | ||
| bool | GetUseIes () |
Set if this light is controlled by Ies definition file | |
| bool | Get if the emissive amount of the ies is controlled by the brightness scale | ||
| bool | Get if the light color is controlled by temperature | ||
| bool | IsEnabled () |
Return true on light enabled, false otherwise | |
| void | SetColor
(
FLinearColor Color |
Set light color on linear mode | |
| void | SetEnabled
(
bool bIsEnabled |
Set enable property of the light | |
| void | SetIesBrightnessScale
(
double IesBrightnessScale |
Set the Ies brightness multiplier | |
| void | SetIesFile
(
const TCHAR* IesFile |
Set the path of the Ies definition file - DEPRECATED in 4.26: Replaced with SetIesTexturePathName | |
| void | SetIesRotation
(
const FQuat& IesRotation |
Set the rotation to apply to the IES shape | |
| 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 | |
| void | SetIntensity
(
double Intensity |
Set light intensity | |
| void | SetLightFunctionMaterial
(
const TSharedPtr< IDatasmithMaterialIDElement >& InMaterial |
Set emissive material on this light | |
| void | SetLightFunctionMaterial
(
const TCHAR* InMaterialName |
Set emissive material on this light | |
| void | SetTemperature
(
double Temperature |
Set the light temperature in Kelvin | |
| void | SetUseIes
(
bool bUseIes |
Get if this light is controlled by Ies definition file | |
| void | SetUseIesBrightness
(
bool bUseIesBrightness |
Set if the emissive amount of the ies is controlled by the brightness scale | |
| void | SetUseTemperature
(
bool bUseTemperature |
Set if the light color is controlled by temperature |