Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/RectLightComponent.h |
Include |
#include "Components/RectLightComponent.h" |
class URectLightComponent : public ULocalLightComponent
A light component which emits light from a rectangle.
Name | Description | ||
---|---|---|---|
|
float |
BarnDoorAngle |
Angle of barn door attached to the light source rect. |
|
float |
BarnDoorLength |
Length of barn door attached to the light source rect. |
|
float |
SourceHeight |
Height of light source rect. |
|
UTexture * |
SourceTexture |
Texture mapped to the light source rectangle |
|
float |
SourceWidth |
Width of light source rect. |
Name | Description | |
---|---|---|
|
URectLightComponent ( |
Name | Description | ||
---|---|---|---|
|
SetBarnDoorAngle ( |
||
|
SetBarnDoorLength ( |
||
|
SetSourceHeight ( |
||
|
SetSourceTexture ( |
||
|
SetSourceWidth ( |
Name | Description | ||
---|---|---|---|
|
float |
ComputeLightBrightness() |
Compute current light brightness based on whether there is a valid IES profile texture attached, and whether IES brightness is enabled |
|
FLightSceneP... |
CreateSceneProxy() |
|
|
ELightCompon... |
GetLightType() |
|
|
float |
GetUniformPenumbraSize() |
|
|
SetLightBrightness ( |
Set the Intensity using the brightness. The unit of brightness depends on the light type. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
PostEditChangeProperty ( |
Called after property has changed via e.g. property window or set command. |