Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- ULightComponentBase
- ULightComponent
- ULocalLightComponent
- UPointLightComponent
- USpotLightComponent
- URectLightComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/LocalLightComponent.h |
| Include | #include "Components/LocalLightComponent.h" |
Syntax
UCLASS (Abstract, ClassGroup=(Lights, Common), HideCategories=(Object, LightShafts), EditInlineNew,
Meta=(BlueprintSpawnableComponent), MinimalAPI)
class ULocalLightComponent : public ULightComponent
Remarks
A light component which emits light from a single point equally in all directions.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AttenuationRadius | Bounds the light's visible influence. | |
| ELightUnits | IntensityUnits | Units used for the intensity. | |
| float | InverseExposureBlend | Blend Factor used to blend between Intensity and Intensity/Exposure. | |
| FLightmassPointLightSettings | LightmassSettings | The Lightmass settings for this object. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ULocalLightComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetUnitsConversionFactor
(
ELightUnits SrcUnits, |
||
| void | SetAttenuationRadius
(
float NewRadius |
||
| void | SetIntensityUnits
(
ELightUnits NewIntensityUnits |
Set the units used for the intensity of the light |
Overridden from ULightComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | AffectsBounds
(
const FBoxSphereBounds& InBounds |
Test whether the light affects the given bounding volume. | |
| FBox | Return the world-space bounding box of the light's influence. | ||
| FSphere | |||
| FLightmassLightSettings | |||
| FVector4 | Return the homogenous position of the light. | ||
| ELightUnits |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Called to send a transform update for this component to the rendering thread |
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. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Radius_DEPRECATED |