Class RectLightComponent
A light component which emits light from a rectangle.
Inheritance
System.Object
RectLightComponent
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 RectLightComponent : LocalLightComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static RectLightComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
RectLightComponent |
SourceHeight
Height of light source rect.
Declaration
public float SourceHeight { get; }
Property Value
Type | Description |
---|---|
System.Single |
Remarks
Note that light sources shapes which intersect shadow casting geometry can cause shadowing artifacts.
SourceTexture
Texture mapped to the light source rectangle
Declaration
public Texture SourceTexture { get; set; }
Property Value
Type | Description |
---|---|
Texture |
SourceWidth
Width of light source rect.
Declaration
public float SourceWidth { 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 RectLightComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
RectLightComponent |
SetSourceHeight(Single)
Set Source Height
Declaration
public void SetSourceHeight(float NewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewValue |
SetSourceWidth(Single)
Set Source Width
Declaration
public void SetSourceWidth(float bNewValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | bNewValue |
Operators
| Improve this Doc View SourceImplicit(IntPtr to RectLightComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator RectLightComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
RectLightComponent |