IDatasmithAreaLightElement

An area light is an emissive shape (light shape) with a light component (light type)

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function Const

float

 

GetLength()

Public function Const

EDatasmithLi...

 

GetLightShape()

Get the light shape Rectangle/Sphere/Disc/Cylinder

Public function Const

EDatasmithAr...

 

GetLightType()

Public function Const

float

 

GetWidth()

Public function

void

 

SetLength

(
    float InLength
)

Set the area light shape size on the X axis

Public function

void

 

SetLightShape

(
    EDatasmithLightShape Shape
)

Set the light shape Rectangle/Sphere/Disc/Cylinder

Public function

void

 

SetLightType

(
    EDatasmithAreaLightType LightType
)

Set the type of light for an area light: Point/Spot/Rect

Public function

void

 

SetWidth

(
    float InWidth
)

Set the area light shape size on the Y axis

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss