Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- ULightComponentBase
- ULightComponent
- ULocalLightComponent
- UPointLightComponent
- USpotLightComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PointLightComponent.h |
| Include | #include "Components/PointLightComponent.h" |
Syntax
class UPointLightComponent : public ULocalLightComponent
Remarks
A light component which emits light from a single point equally in all directions.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bUseInverseSquaredFalloff | Whether to use physically based inverse squared distance falloff, where AttenuationRadius is only clamping the light's contribution. | |
| float | LightFalloffExponent | Controls the radial falloff of the light when UseInverseSquaredFalloff is disabled. | |
| float | SoftSourceRadius | Soft radius of light source shape. | |
| float | SourceLength | Length of light source shape. | |
| float | SourceRadius | Radius of light source shape. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPointLightComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetInverseExposureBlend
(
float NewInverseExposureBlend |
||
| void | SetLightFalloffExponent
(
float NewLightFalloffExponent |
||
| void | SetSoftSourceRadius
(
float bNewValue |
||
| void | SetSourceLength
(
float NewValue |
||
| void | SetSourceRadius
(
float bNewValue |
||
| void | SetUseInverseSquaredFalloff
(
bool bNewValue |
Overridden from ULightComponent
| Type | Name | Description | |
|---|---|---|---|
| float | Compute current light brightness based on whether there is a valid IES profile texture attached, and whether IES brightness is enabled | ||
| FLightSceneProxy * | |||
| ELightComponentType | GetLightType () |
||
| float | |||
| void | SetLightBrightness
(
float InBrightness |
Set the Intensity using the brightness. The unit of brightness depends on the light type. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called after property has changed via e.g. property window or set command. | |
| void | Handles reading, writing, and reference collecting using FArchive. |