Class SpotLightComponent
A spot light component emits a directional cone shaped light (Eg a Torch).
Inheritance
System.Object
SpotLightComponent
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 SpotLightComponent : PointLightComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static SpotLightComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
SpotLightComponent |
InnerConeAngle
Degrees.
Declaration
public float InnerConeAngle { get; }
Property Value
Type | Description |
---|---|
System.Single |
LightShaftConeAngle
EditAnywhere, BlueprintReadOnly, Category=LightShaft, meta=(UIMin = "1.0", UIMax = "180.0")
Declaration
public float LightShaftConeAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
OuterConeAngle
Degrees.
Declaration
public float OuterConeAngle { get; }
Property Value
Type | Description |
---|---|
System.Single |
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 SpotLightComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
SpotLightComponent |
SetInnerConeAngle(Single)
Set Inner Cone Angle
Declaration
public void SetInnerConeAngle(float NewInnerConeAngle)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewInnerConeAngle |
SetOuterConeAngle(Single)
Set Outer Cone Angle
Declaration
public void SetOuterConeAngle(float NewOuterConeAngle)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewOuterConeAngle |
Operators
| Improve this Doc View SourceImplicit(IntPtr to SpotLightComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator SpotLightComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
SpotLightComponent |