Class PointLightComponent
A light component which emits light from a single point equally in all directions.
Inheritance
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class PointLightComponent : LocalLightComponent
Properties
| Improve this Doc View SourcebUseInverseSquaredFalloff
Declaration
public bool bUseInverseSquaredFalloff { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PointLightComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
PointLightComponent |
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.
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.
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.
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.
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(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 |
SetLightFalloffExponent(Single)
Set Light Falloff Exponent
Declaration
public void SetLightFalloffExponent(float NewLightFalloffExponent)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewLightFalloffExponent |
SetSoftSourceRadius(Single)
Set Soft Source Radius
Declaration
public void SetSoftSourceRadius(float bNewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | bNewValue |
SetSourceLength(Single)
Set Source Length
Declaration
public void SetSourceLength(float NewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewValue |
SetSourceRadius(Single)
Set Source Radius
Declaration
public void SetSourceRadius(float bNewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | bNewValue |
Operators
| Improve this Doc View SourceImplicit(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 |