Navigation
API > API/Developer > API/Developer/DatasmithFacade
An area light is an emissive shape (light shape) with a light component (light type)
| Name | FDatasmithFacadeAreaLight |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeActorLight.h |
| Include Path | #include "DatasmithFacadeActorLight.h" |
Syntax
class FDatasmithFacadeAreaLight : public FDatasmithFacadeSpotLight
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeActor → FDatasmithFacadeActorLight → FDatasmithFacadePointLight → FDatasmithFacadeSpotLight → FDatasmithFacadeAreaLight
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeAreaLight
(
const TCHAR* InElementName |
DatasmithFacadeActorLight.h | ||
FDatasmithFacadeAreaLight
(
const TSharedRef< IDatasmithAreaLightElement >& InInternalActor |
DatasmithFacadeActorLight.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDatasmithFacadeAreaLight() |
DatasmithFacadeActorLight.h |
Enums
Public
| Name | Remarks |
|---|---|
| EAreaLightShape | Possible Datasmith area light shapes. |
| EAreaLightType | Possible Datasmith area light types. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< IDatasmithAreaLightElement > GetDatasmithAreaLightElement() |
DatasmithFacadeActorLight.h | ||
float GetLength() |
DatasmithFacadeActorLight.h | ||
EAreaLightShape GetLightShape() |
Get the light shape Rectangle/Sphere/Disc/Cylinder | DatasmithFacadeActorLight.h | |
EAreaLightType GetLightType() |
DatasmithFacadeActorLight.h | ||
float GetWidth() |
DatasmithFacadeActorLight.h | ||
void SetLength
(
float InLength |
Set the area light shape size on the X axis | DatasmithFacadeActorLight.h | |
void SetLightShape
(
EAreaLightShape Shape |
Set the light shape Rectangle/Sphere/Disc/Cylinder | DatasmithFacadeActorLight.h | |
void SetLightType
(
EAreaLightType LightType |
Set the type of light for an area light: Point/Spot/Rect | DatasmithFacadeActorLight.h | |
void SetWidth
(
float InWidth |
Set the area light shape size on the Y axis | DatasmithFacadeActorLight.h |