Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithActorElement
- IDatasmithLightActorElement
- IDatasmithPointLightElement
- IDatasmithSpotLightElement
- IDatasmithAreaLightElement
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithAreaLightElement : public IDatasmithSpotLightElement
Remarks
An area light is an emissive shape (light shape) with a light component (light type)
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | GetLength () |
|
![]() ![]() |
EDatasmithLightShape | Get the light shape Rectangle/Sphere/Disc/Cylinder | |
![]() ![]() |
EDatasmithAreaLightType | GetLightType () |
|
![]() ![]() |
float | GetWidth () |
|
![]() |
void | SetLength
(
float InLength |
Set the area light shape size on the X axis |
![]() |
void | SetLightShape
(
EDatasmithLightShape Shape |
Set the light shape Rectangle/Sphere/Disc/Cylinder |
![]() |
void | SetLightType
(
EDatasmithAreaLightType LightType |
Set the type of light for an area light: Point/Spot/Rect |
![]() |
void | SetWidth
(
float InWidth |
Set the area light shape size on the Y axis |