Show / Hide Table of Contents

Class PointLightComponent

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

Inheritance
System.Object
UObject
ActorComponent
SceneComponent
LightComponentBase
LightComponent
LocalLightComponent
PointLightComponent
SpotLightComponent
Inherited Members
LocalLightComponent.GetUnitsConversionFactor(ELightUnits, ELightUnits, Single)
LocalLightComponent.SetAttenuationRadius(Single)
LocalLightComponent.AttenuationRadius
LocalLightComponent.LightmassSettings
LightComponent.SetAffectDynamicIndirectLighting(Boolean)
LightComponent.SetAffectTranslucentLighting(Boolean)
LightComponent.SetBloomScale(Single)
LightComponent.SetBloomThreshold(Single)
LightComponent.SetBloomTint(Color)
LightComponent.SetEnableLightShaftBloom(Boolean)
LightComponent.SetForceCachedShadowsForMovablePrimitives(Boolean)
LightComponent.SetIESTexture(TextureLightProfile)
LightComponent.SetIndirectLightingIntensity(Single)
LightComponent.SetIntensity(Single)
LightComponent.SetLightColor(LinearColor, Boolean)
LightComponent.SetLightFunctionDisabledBrightness(Single)
LightComponent.SetLightFunctionFadeDistance(Single)
LightComponent.SetLightFunctionMaterial(MaterialInterface)
LightComponent.SetLightFunctionScale(Vector)
LightComponent.SetShadowBias(Single)
LightComponent.SetTemperature(Single)
LightComponent.SetTransmission(Boolean)
LightComponent.SetVolumetricScatteringIntensity(Single)
LightComponent.Temperature
LightComponent.MaxDrawDistance
LightComponent.MaxDistanceFadeRange
LightComponent.bUseTemperature
LightComponent.SpecularScale
LightComponent.ShadowResolutionScale
LightComponent.ShadowBias
LightComponent.ShadowSharpen
LightComponent.ContactShadowLength
LightComponent.ContactShadowLengthInWS
LightComponent.CastTranslucentShadows
LightComponent.bCastShadowsFromCinematicObjectsOnly
LightComponent.bAffectDynamicIndirectLighting
LightComponent.bForceCachedShadowsForMovablePrimitives
LightComponent.LightingChannels
LightComponent.LightFunctionMaterial
LightComponent.LightFunctionScale
LightComponent.IESTexture
LightComponent.bUseIESBrightness
LightComponent.IESBrightnessScale
LightComponent.LightFunctionFadeDistance
LightComponent.DisabledBrightness
LightComponent.bEnableLightShaftBloom
LightComponent.BloomScale
LightComponent.BloomThreshold
LightComponent.BloomTint
LightComponent.bUseRayTracedDistanceFieldShadows
LightComponent.RayStartOffsetDepthScale
LightComponentBase.GetLightColor()
LightComponentBase.SetCastShadows(Boolean)
LightComponentBase.SetCastVolumetricShadow(Boolean)
LightComponentBase.LightGuid
LightComponentBase.Intensity
LightComponentBase.LightColor
LightComponentBase.bAffectsWorld
LightComponentBase.CastShadows
LightComponentBase.CastStaticShadows
LightComponentBase.CastDynamicShadows
LightComponentBase.bAffectTranslucentLighting
LightComponentBase.bTransmission
LightComponentBase.bCastVolumetricShadow
LightComponentBase.IndirectLightingIntensity
LightComponentBase.VolumetricScatteringIntensity
LightComponentBase.StaticEditorTexture
LightComponentBase.StaticEditorTextureScale
LightComponentBase.DynamicEditorTexture
LightComponentBase.DynamicEditorTextureScale
SceneComponent.DetachFromParent(Boolean, Boolean)
SceneComponent.DoesSocketExist(Name)
SceneComponent.GetAllSocketNames()
SceneComponent.GetAttachParent()
SceneComponent.GetAttachSocketName()
SceneComponent.GetChildComponent(Int32)
SceneComponent.GetChildrenComponents(Boolean)
SceneComponent.GetComponentVelocity()
SceneComponent.GetForwardVector()
SceneComponent.GetNumChildrenComponents()
SceneComponent.GetParentComponents()
SceneComponent.GetPhysicsVolume()
SceneComponent.GetRelativeTransform()
SceneComponent.GetRightVector()
SceneComponent.GetShouldUpdatePhysicsVolume()
SceneComponent.GetSocketLocation(Name)
SceneComponent.GetSocketQuaternion(Name)
SceneComponent.GetSocketRotation(Name)
SceneComponent.GetSocketTransform(Name, Byte)
SceneComponent.GetUpVector()
SceneComponent.IsAnySimulatingPhysics()
SceneComponent.IsSimulatingPhysics(Name)
SceneComponent.IsVisible()
SceneComponent.K2_AddLocalOffset(Vector, Boolean, Boolean)
SceneComponent.K2_AddLocalRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddLocalTransform(Transform, Boolean, Boolean)
SceneComponent.K2_AddRelativeLocation(Vector, Boolean, Boolean)
SceneComponent.K2_AddRelativeRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddWorldOffset(Vector, Boolean, Boolean)
SceneComponent.K2_AddWorldRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddWorldTransform(Transform, Boolean, Boolean)
SceneComponent.K2_AttachTo(SceneComponent, Name, Byte, Boolean)
SceneComponent.K2_AttachToComponent(SceneComponent, Name, EAttachmentRule, EAttachmentRule, EAttachmentRule, Boolean)
SceneComponent.K2_DetachFromComponent(EDetachmentRule, EDetachmentRule, EDetachmentRule, Boolean)
SceneComponent.K2_GetComponentLocation()
SceneComponent.K2_GetComponentRotation()
SceneComponent.K2_GetComponentScale()
SceneComponent.K2_GetComponentToWorld()
SceneComponent.K2_SetRelativeLocation(Vector, Boolean, Boolean)
SceneComponent.K2_SetRelativeLocationAndRotation(Vector, Rotator, Boolean, Boolean)
SceneComponent.K2_SetRelativeRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_SetRelativeTransform(Transform, Boolean, Boolean)
SceneComponent.K2_SetWorldLocation(Vector, Boolean, Boolean)
SceneComponent.K2_SetWorldLocationAndRotation(Vector, Rotator, Boolean, Boolean)
SceneComponent.K2_SetWorldRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_SetWorldTransform(Transform, Boolean, Boolean)
SceneComponent.ResetRelativeTransform()
SceneComponent.SetAbsolute(Boolean, Boolean, Boolean)
SceneComponent.SetHiddenInGame(Boolean, Boolean)
SceneComponent.SetMobility(Byte)
SceneComponent.SetRelativeScale3D(Vector)
SceneComponent.SetShouldUpdatePhysicsVolume(Boolean)
SceneComponent.SetVisibility(Boolean, Boolean)
SceneComponent.SetWorldScale3D(Vector)
SceneComponent.SnapTo(SceneComponent, Name)
SceneComponent.ToggleVisibility(Boolean)
SceneComponent.AttachParent
SceneComponent.AttachSocketName
SceneComponent.AttachChildren
SceneComponent.ClientAttachedChildren
SceneComponent.RelativeLocation
SceneComponent.RelativeRotation
SceneComponent.RelativeScale3D
SceneComponent.ComponentVelocity
SceneComponent.bComponentToWorldUpdated
SceneComponent.bAbsoluteLocation
SceneComponent.bAbsoluteRotation
SceneComponent.bAbsoluteScale
SceneComponent.bVisible
SceneComponent.bHiddenInGame
SceneComponent.bShouldUpdatePhysicsVolume
SceneComponent.bBoundsChangeTriggersStreamingDataRebuild
SceneComponent.bUseAttachParentBound
SceneComponent.bVisualizeComponent
SceneComponent.Mobility
SceneComponent.DetailMode
ActorComponent.RegisterComponent()
ActorComponent.UnregisterComponent()
ActorComponent.ReceiveBeginPlay
ActorComponent.ReceiveEndPlay
ActorComponent.ReceiveTick
ActorComponent.Activate(Boolean)
ActorComponent.AddTickPrerequisiteActor(Actor)
ActorComponent.AddTickPrerequisiteComponent(ActorComponent)
ActorComponent.ComponentHasTag(Name)
ActorComponent.Deactivate()
ActorComponent.GetComponentTickInterval()
ActorComponent.GetOwner()
ActorComponent.IsActive()
ActorComponent.IsBeingDestroyed()
ActorComponent.IsComponentTickEnabled()
ActorComponent.K2_DestroyComponent(UObject)
ActorComponent.RemoveTickPrerequisiteActor(Actor)
ActorComponent.RemoveTickPrerequisiteComponent(ActorComponent)
ActorComponent.SetActive(Boolean, Boolean)
ActorComponent.SetAutoActivate(Boolean)
ActorComponent.SetComponentTickEnabled(Boolean)
ActorComponent.SetComponentTickInterval(Single)
ActorComponent.SetIsReplicated(Boolean)
ActorComponent.SetTickableWhenPaused(Boolean)
ActorComponent.SetTickGroup(Byte)
ActorComponent.ToggleActive()
ActorComponent.PrimaryComponentTick
ActorComponent.AssetUserData
ActorComponent.bReplicates
ActorComponent.bNetAddressable
ActorComponent.bAutoActivate
ActorComponent.bIsActive
ActorComponent.bEditableWhenInherited
ActorComponent.bCanEverAffectNavigation
ActorComponent.bIsEditorOnly
ActorComponent.bIsVisualizationComponent
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class PointLightComponent : LocalLightComponent

Properties

| Improve this Doc View Source

bUseInverseSquaredFalloff

Declaration
public bool bUseInverseSquaredFalloff { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static PointLightComponent DefaultObject { get; }
Property Value
Type Description
PointLightComponent
| Improve this Doc View Source

LightFalloffExponent

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

Declaration
public float LightFalloffExponent { get; }
Property Value
Type Description
System.Single
Remarks

2 is almost linear and very unrealistic and around 8 it looks reasonable. With large exponents, the light has contribution to only a small area of its influence radius but still costs the same as low exponents.

| Improve this Doc View Source

SoftSourceRadius

Soft radius of light source shape.

Declaration
public float SoftSourceRadius { get; }
Property Value
Type Description
System.Single
Remarks

Note that light sources shapes which intersect shadow casting geometry can cause shadowing artifacts.

| Improve this Doc View Source

SourceLength

Length of light source shape.

Declaration
public float SourceLength { get; }
Property Value
Type Description
System.Single
Remarks

Note that light sources shapes which intersect shadow casting geometry can cause shadowing artifacts.

| Improve this Doc View Source

SourceRadius

Radius of light source shape.

Declaration
public float SourceRadius { get; }
Property Value
Type Description
System.Single
Remarks

Note that light sources shapes which intersect shadow casting geometry can cause shadowing artifacts.

| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static PointLightComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
PointLightComponent
| Improve this Doc View Source

SetLightFalloffExponent(Single)

Set Light Falloff Exponent

Declaration
public void SetLightFalloffExponent(float NewLightFalloffExponent)
Parameters
Type Name Description
System.Single NewLightFalloffExponent
| Improve this Doc View Source

SetSoftSourceRadius(Single)

Set Soft Source Radius

Declaration
public void SetSoftSourceRadius(float bNewValue)
Parameters
Type Name Description
System.Single bNewValue
| Improve this Doc View Source

SetSourceLength(Single)

Set Source Length

Declaration
public void SetSourceLength(float NewValue)
Parameters
Type Name Description
System.Single NewValue
| Improve this Doc View Source

SetSourceRadius(Single)

Set Source Radius

Declaration
public void SetSourceRadius(float bNewValue)
Parameters
Type Name Description
System.Single bNewValue

Operators

| Improve this Doc View Source

Implicit(IntPtr to PointLightComponent)

Convert from IntPtr to UObject

Declaration
public static implicit operator PointLightComponent(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
PointLightComponent
  • Improve this Doc
  • View Source
Back to top Generated by DocFX