Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithActorElement
- UDatasmithLightActorElement
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
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | GetColor () |
Get light color on linear mode | |
| TWeakPtr< IDatasmithLightActorElement > | |||
| float | Get the Ies brightness multiplier | ||
| FString | GetIesFile () |
Get the path of the Ies definition file | |
| float | GetIntensity () |
Get light intensity | |
| float | 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 | SetDatasmithLightActorElement
(
const TSharedPtr< IDatasmithLightActorElement >& InElement |
||
| void | SetEnabled
(
bool bIsEnabled |
Set enable property of the light | |
| void | SetIesBrightnessScale
(
float IesBrightnessScale |
Set the Ies brightness multiplier | |
| void | SetIesFile
(
const FString& IesFile |
Set the path of the Ies definition file | |
| void | SetIntensity
(
float Intensity |
Set light intensity | |
| void | SetTemperature
(
float 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 |
Overridden from UDatasmithActorElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithActorElement > |
Overridden from UDatasmithObjectElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithElement > | TODO: They are not covariant because of the TWeakPtr, can't override in child. | ||
| bool | Is the Element still valid for the Datasmith Scene |