IDatasmithLightActorElement

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

class IDatasmithLightActorElement : public IDatasmithActorElement

Destructors

Functions

Name Description

Public function Const

FLinearColor

 

GetColor()

Get light color on linear mode

Public function Const

double

 

GetIesBrightnessScale()

Get the Ies brightness multiplier

Public function Const

const TCHAR ...

 

GetIesFile()

Get the path of the Ies definition file - DEPRECATED in 4.26: Replaced with GetIesTexturePathName

Public function Const

FQuat

 

GetIesRotation()

Get the rotation applied to the IES shape

Public function Const

const TCHAR ...

 

GetIesTexturePathName()

Get the IES texture path

Public function Const

double

 

GetIntensity()

Get light intensity

Public function

TSharedPtr< ...

 

GetLightFunctionMaterial()

Get emissive material on this light

Public function Const

double

 

GetTemperature()

Get the light temperature in Kelvin

Public function Const

bool

 

GetUseIes()

Set if this light is controlled by Ies definition file

Public function Const

bool

 

GetUseIesBrightness()

Get if the emissive amount of the ies is controlled by the brightness scale

Public function Const

bool

 

GetUseTemperature()

Get if the light color is controlled by temperature

Public function Const

bool

 

IsEnabled()

Return true on light enabled, false otherwise

Public function

void

 

SetColor

(
    FLinearColor Color
)

Set light color on linear mode

Public function

void

 

SetEnabled

(
    bool bIsEnabled
)

Set enable property of the light

Public function

void

 

SetIesBrightnessScale

(
    double IesBrightnessScale
)

Set the Ies brightness multiplier

Public function

void

 

SetIesFile

(
    const TCHAR* IesFile
)

Set the path of the Ies definition file - DEPRECATED in 4.26: Replaced with SetIesTexturePathName

Public function

void

 

SetIesRotation

(
    const FQuat& IesRotation
)

Set the rotation to apply to the IES shape

Public function

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

Public function

void

 

SetIntensity

(
    double Intensity
)

Set light intensity

Public function

void

 

SetLightFunctionMaterial

(
    const TSharedPtr< IDatasmithMateria...
)

Set emissive material on this light

Public function

void

 

SetLightFunctionMaterial

(
    const TCHAR* InMaterialName
)

Set emissive material on this light

Public function

void

 

SetTemperature

(
    double Temperature
)

Set the light temperature in Kelvin

Public function

void

 

SetUseIes

(
    bool bUseIes
)

Get if this light is controlled by Ies definition file

Public function

void

 

SetUseIesBrightness

(
    bool bUseIesBrightness
)

Set if the emissive amount of the ies is controlled by the brightness scale

Public function

void

 

SetUseTemperature

(
    bool bUseTemperature
)

Set if the light color is controlled by temperature

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss