UDatasmithLightActorElement

[UDatasmithLightActorElement](API\Plugins\DatasmithImporter\ObjectElements\UDatasmithLightActorElement)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h

Include

#include "ObjectElements/DatasmithUObjectElements.h"

Syntax

UCLASS()
class UDatasmithLightActorElement : public UDatasmithActorElement

Remarks

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

FLinearColor

 

GetColor()

Get light color on linear mode

Public function Const

TWeakPtr< ID...

 

GetDatasmithLightActorElement()

Public function Const UFunction BlueprintCallable, Category

float

 

GetIesBrightnessScale()

Get the Ies brightness multiplier

Public function Const UFunction BlueprintCallable, Category

FString

 

GetIesFile()

Get the path of the Ies definition file

Public function Const UFunction BlueprintCallable, Category

float

 

GetIntensity()

Get light intensity

Public function Const UFunction BlueprintCallable, Category

float

 

GetTemperature()

Get the light temperature in Kelvin

Public function Const UFunction BlueprintCallable, Category

bool

 

GetUseIes()

Set if this light is controlled by Ies definition file

Public function Const UFunction BlueprintCallable, Category

bool

 

GetUseIesBrightness()

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

Public function Const UFunction BlueprintCallable, Category

bool

 

GetUseTemperature()

Get if the light color is controlled by temperature

Public function Const UFunction BlueprintCallable, Category

bool

 

IsEnabled()

Return true on light enabled, false otherwise

Public function UFunction BlueprintCallable, Category

void

 

SetColor

(
    FLinearColor Color
)

Set light color on linear mode

Public function

void

 

SetDatasmithLightActorElement

(
    const TSharedPtr< IDatasmithLightAc...
)

Public function UFunction BlueprintCallable, Category

void

 

SetEnabled

(
    bool bIsEnabled
)

Set enable property of the light

Public function UFunction BlueprintCallable, Category

void

 

SetIesBrightnessScale

(
    float IesBrightnessScale
)

Set the Ies brightness multiplier

Public function UFunction BlueprintCallable, Category

void

 

SetIesFile

(
    const FString& IesFile
)

Set the path of the Ies definition file

Public function UFunction BlueprintCallable, Category

void

 

SetIntensity

(
    float Intensity
)

Set light intensity

Public function UFunction BlueprintCallable, Category

void

 

SetTemperature

(
    float Temperature
)

Set the light temperature in Kelvin

Public function UFunction BlueprintCallable, Category

void

 

SetUseIes

(
    bool bUseIes
)

Get if this light is controlled by Ies definition file

Public function UFunction BlueprintCallable, Category

void

 

SetUseIesBrightness

(
    bool bUseIesBrightness
)

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

Public function UFunction BlueprintCallable, Category

void

 

SetUseTemperature

(
    bool bUseTemperature
)

Set if the light color is controlled by temperature

Overridden from UDatasmithActorElement

Name Description

Public function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithActorElement()

Overridden from UDatasmithObjectElement

Name Description

Public function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithElement()

TODO: They are not covariant because of the TWeakPtr, can't override in child.

Public function Virtual Const

bool

 

IsElementValid()

Is the Element still valid for the Datasmith Scene