Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include |
#include "IDatasmithSceneElements.h" |
class IDatasmithAreaLightElement : public IDatasmithSpotLightElement
An area light is an emissive shape (light shape) with a light component (light type)
Name | Description | ||
---|---|---|---|
|
float |
GetLength() |
|
|
EDatasmithLi... |
GetLightShape() |
Get the light shape Rectangle/Sphere/Disc/Cylinder |
|
EDatasmithAr... |
GetLightType() |
|
|
float |
GetWidth() |
|
|
SetLength ( |
Set the area light shape size on the X axis |
|
|
SetLightShape ( |
Set the light shape Rectangle/Sphere/Disc/Cylinder |
|
|
SetLightType ( |
Set the type of light for an area light: Point/Spot/Rect |
|
|
SetWidth ( |
Set the area light shape size on the Y axis |