Class LocalLightComponent
A light component which emits light from a single point equally in all directions.
Inheritance
System.Object
LocalLightComponent
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)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class LocalLightComponent : LightComponent
Properties
| Improve this Doc View SourceAttenuationRadius
Bounds the light's visible influence.
Declaration
public float AttenuationRadius { get; }
Property Value
Type | Description |
---|---|
System.Single |
Remarks
This clamping of the light's influence is not physically correct but very important for performance, larger lights cost more.
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static LocalLightComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
LocalLightComponent |
LightmassSettings
The Lightmass settings for this object.
Declaration
public LightmassPointLightSettings LightmassSettings { get; set; }
Property Value
Type | Description |
---|---|
LightmassPointLightSettings |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetUnitsConversionFactor(ELightUnits, ELightUnits, Single)
Get Units Conversion Factor
Declaration
public static float GetUnitsConversionFactor(ELightUnits SrcUnits, ELightUnits TargetUnits, float CosHalfConeAngle)
Parameters
Type | Name | Description |
---|---|---|
ELightUnits | SrcUnits | |
ELightUnits | TargetUnits | |
System.Single | CosHalfConeAngle |
Returns
Type | Description |
---|---|
System.Single |
New(UObject, Name)
Spawn an object of this class
Declaration
public static LocalLightComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
LocalLightComponent |
SetAttenuationRadius(Single)
Set Attenuation Radius
Declaration
public void SetAttenuationRadius(float NewRadius)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewRadius |
Operators
| Improve this Doc View SourceImplicit(IntPtr to LocalLightComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator LocalLightComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
LocalLightComponent |