Class LightComponent
Inheritance
System.Object
LightComponent
Inherited Members
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)
Assembly: UE4DotNet.dll
Syntax
public class LightComponent : LightComponentBase
Properties
|
Improve this Doc
View Source
bAffectDynamicIndirectLighting
Declaration
public bool bAffectDynamicIndirectLighting { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bCastShadowsFromCinematicObjectsOnly
Declaration
public bool bCastShadowsFromCinematicObjectsOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bEnableLightShaftBloom
Declaration
public bool bEnableLightShaftBloom { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool bForceCachedShadowsForMovablePrimitives { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BloomScale
Scales the additive color.
Declaration
public float BloomScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BloomThreshold
Scene color must be larger than this to create bloom in the light shafts.
Declaration
public float BloomThreshold { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
BloomTint
Multiplies against scene color to create the bloom color.
Declaration
public Color BloomTint { get; }
Property Value
|
Improve this Doc
View Source
bUseIESBrightness
Declaration
public bool bUseIESBrightness { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseRayTracedDistanceFieldShadows
Declaration
public bool bUseRayTracedDistanceFieldShadows { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseTemperature
Declaration
public bool bUseTemperature { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CastTranslucentShadows
Declaration
public bool CastTranslucentShadows { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Length of screen space ray trace for sharp contact shadows. Zero is disabled.
Declaration
public float ContactShadowLength { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public bool ContactShadowLengthInWS { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static LightComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
DisabledBrightness
Brightness factor applied to the light when the light function is specified but disabled, for example in scene captures that use SceneCapView_LitNoShadows.
Declaration
public float DisabledBrightness { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
IESBrightnessScale
Global scale for IES brightness contribution. Only available when "Use IES Brightness" is selected, and a valid IES profile texture is set
Declaration
public float IESBrightnessScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
IESTexture
IES texture (light profiles from real world measured data)
Declaration
public TextureLightProfile IESTexture { get; }
Property Value
|
Improve this Doc
View Source
LightFunctionFadeDistance
Distance at which the light function should be completely faded to DisabledBrightness.
Declaration
public float LightFunctionFadeDistance { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
LightFunctionMaterial
The light function material to be applied to this light.
Declaration
public MaterialInterface LightFunctionMaterial { get; }
Property Value
|
Improve this Doc
View Source
LightFunctionScale
Scales the light function projection. X and Y scale in the directions perpendicular to the light's direction, Z scales along the light direction.
Declaration
public Vector LightFunctionScale { get; }
Property Value
|
Improve this Doc
View Source
LightingChannels
Channels that this light should affect.
Declaration
public LightingChannels LightingChannels { get; }
Property Value
|
Improve this Doc
View Source
MaxDistanceFadeRange
Declaration
public float MaxDistanceFadeRange { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxDrawDistance
Declaration
public float MaxDrawDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RayStartOffsetDepthScale
Controls how large of an offset ray traced shadows have from the receiving surface as the camera gets further away.
Declaration
public float RayStartOffsetDepthScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ShadowBias
Controls how accurate self shadowing of whole scene shadows from this light are.
Declaration
public float ShadowBias { get; }
Property Value
Type |
Description |
System.Single |
|
Remarks
|
Improve this Doc
View Source
ShadowResolutionScale
Scales the resolution of shadowmaps used to shadow this light.
Declaration
public float ShadowResolutionScale { get; }
Property Value
Type |
Description |
System.Single |
|
Remarks
|
Improve this Doc
View Source
ShadowSharpen
Amount to sharpen shadow filtering
Declaration
public float ShadowSharpen { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SpecularScale
Multiplier on specular highlights.
Declaration
public float SpecularScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
Temperature
Color temperature in Kelvin of the blackbody illuminant.
Declaration
public float Temperature { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static LightComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SetAffectDynamicIndirectLighting(Boolean)
Set Affect Dynamic Indirect Lighting
Declaration
public void SetAffectDynamicIndirectLighting(bool bNewValue)
Parameters
Type |
Name |
Description |
System.Boolean |
bNewValue |
|
|
Improve this Doc
View Source
SetAffectTranslucentLighting(Boolean)
Set Affect Translucent Lighting
Declaration
public void SetAffectTranslucentLighting(bool bNewValue)
Parameters
Type |
Name |
Description |
System.Boolean |
bNewValue |
|
|
Improve this Doc
View Source
SetBloomScale(Single)
Declaration
public void SetBloomScale(float NewValue)
Parameters
Type |
Name |
Description |
System.Single |
NewValue |
|
|
Improve this Doc
View Source
SetBloomThreshold(Single)
Declaration
public void SetBloomThreshold(float NewValue)
Parameters
Type |
Name |
Description |
System.Single |
NewValue |
|
|
Improve this Doc
View Source
SetBloomTint(Color)
Declaration
public void SetBloomTint(Color NewValue)
Parameters
Type |
Name |
Description |
Color |
NewValue |
|
|
Improve this Doc
View Source
SetEnableLightShaftBloom(Boolean)
Set Enable Light Shaft Bloom
Declaration
public void SetEnableLightShaftBloom(bool bNewValue)
Parameters
Type |
Name |
Description |
System.Boolean |
bNewValue |
|
|
Improve this Doc
View Source
Set Force Cached Shadows for Movable Primitives
Declaration
public void SetForceCachedShadowsForMovablePrimitives(bool bNewValue)
Parameters
Type |
Name |
Description |
System.Boolean |
bNewValue |
|
|
Improve this Doc
View Source
SetIESTexture(TextureLightProfile)
Declaration
public void SetIESTexture(TextureLightProfile NewValue)
Parameters
|
Improve this Doc
View Source
SetIndirectLightingIntensity(Single)
Set Indirect Lighting Intensity
Declaration
public void SetIndirectLightingIntensity(float NewIntensity)
Parameters
Type |
Name |
Description |
System.Single |
NewIntensity |
|
|
Improve this Doc
View Source
SetIntensity(Single)
Set intensity of the light
Declaration
public void SetIntensity(float NewIntensity)
Parameters
Type |
Name |
Description |
System.Single |
NewIntensity |
|
|
Improve this Doc
View Source
SetLightColor(LinearColor, Boolean)
Declaration
public void SetLightColor(LinearColor NewLightColor, bool bSRGB)
Parameters
Type |
Name |
Description |
LinearColor |
NewLightColor |
|
System.Boolean |
bSRGB |
|
|
Improve this Doc
View Source
SetLightFunctionDisabledBrightness(Single)
Set Light Function Disabled Brightness
Declaration
public void SetLightFunctionDisabledBrightness(float NewValue)
Parameters
Type |
Name |
Description |
System.Single |
NewValue |
|
|
Improve this Doc
View Source
SetLightFunctionFadeDistance(Single)
Set Light Function Fade Distance
Declaration
public void SetLightFunctionFadeDistance(float NewLightFunctionFadeDistance)
Parameters
Type |
Name |
Description |
System.Single |
NewLightFunctionFadeDistance |
|
|
Improve this Doc
View Source
SetLightFunctionMaterial(MaterialInterface)
Set Light Function Material
Declaration
public void SetLightFunctionMaterial(MaterialInterface NewLightFunctionMaterial)
Parameters
|
Improve this Doc
View Source
SetLightFunctionScale(Vector)
Declaration
public void SetLightFunctionScale(Vector NewLightFunctionScale)
Parameters
Type |
Name |
Description |
Vector |
NewLightFunctionScale |
|
|
Improve this Doc
View Source
SetShadowBias(Single)
Declaration
public void SetShadowBias(float NewValue)
Parameters
Type |
Name |
Description |
System.Single |
NewValue |
|
|
Improve this Doc
View Source
SetTemperature(Single)
Declaration
public void SetTemperature(float NewTemperature)
Parameters
Type |
Name |
Description |
System.Single |
NewTemperature |
|
|
Improve this Doc
View Source
SetTransmission(Boolean)
Declaration
public void SetTransmission(bool bNewValue)
Parameters
Type |
Name |
Description |
System.Boolean |
bNewValue |
|
|
Improve this Doc
View Source
SetVolumetricScatteringIntensity(Single)
Set Volumetric Scattering Intensity
Declaration
public void SetVolumetricScatteringIntensity(float NewIntensity)
Parameters
Type |
Name |
Description |
System.Single |
NewIntensity |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to LightComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator LightComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns