Language:
Discover
By Skill Level
By Category

UPointLightComponent

Choose your OS:

Inheritance Hierarchy

Syntax

class UPointLightComponent : public ULightComponent

Remarks

A light component which emits light from a single point equally in all directions.

Variables

Name Description

Public variable

float

 

AttenuationRadius

Bounds the light's visible influence.

Public variable

uint32 : 1

 

bUseInverseSquaredFalloff

Whether to use physically based inverse squared distance falloff, where AttenuationRadius is only clamping the light's contribution.

Public variable

float

 

LightFalloffExponent

Controls the radial falloff of the light when UseInverseSquaredFalloff is disabled.

Public variable

FLightmassPoint ...

 

LightmassSettings

The Lightmass settings for this object.

Public variable

float

 

SoftSourceRadius

Soft radius of light source shape.

Public variable

float

 

SourceLength

Length of light source shape.

Public variable

float

 

SourceRadius

Radius of light source shape.

Constructors

Name Description

Public function

UPointLightComponent

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function

void

 

SetAttenuationRadius

(
    float NewRadius
)

Public function

void

 

SetLightFalloffExponent

(
    float NewLightFalloffExponent
)

Public function

void

 

SetSoftSourceRadius

(
    float bNewValue
)

Public function

void

 

SetSourceLength

(
    float NewValue
)

Public function

void

 

SetSourceRadius

(
    float bNewValue
)

Overridden from ULightComponent

Name Description

Public function Virtual

bool

 

AffectsBounds

(
    const FBoxSphereBounds & InBounds
)

Test whether the light affects the given bounding volume.

Public function Virtual

FLightSceneP ...

 

CreateSceneProxy()

Public function Virtual

FBox

 

GetBoundingBox()

Return the world-space bounding box of the light's influence.

Public function Virtual

FSphere

 

GetBoundingSphere()

Public function Virtual

FLightmassLi ...

 

GetLightmassSettings()

Public function Virtual

FVector4

 

GetLightPosition()

Return the homogenous position of the light.

Public function Virtual

ELightCompon ...

 

GetLightType()

ELightComponentType for the light component class

Public function Virtual

float

 

GetUniformPenumbraSize()

Overridden from UActorComponent

Name Description

Protected function Virtual

void

 

SendRenderTransform_Concurrent()

Called to send a transform update for this component to the rendering thread

Overridden from UObject

Name Description

Public function Virtual

bool

 

CanEditChange

(
    const UProperty * InProperty
)

Called by the editor to query whether a property of this object is allowed to be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called after property has changed via e.g. property window or set command.

Public function Virtual

void

 

PostInterpChange

(
    UProperty * PropertyThatChanged
)

WITH_EDITOR.

Public function Virtual

void

 

Serialize

(
    FArchive & Ar
)

UObject serializer.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/PointLightComponent.h