Class Light
- Namespace
- TaleWorlds.Engine
- Assembly
- TaleWorlds.Engine.dll
[EngineClass("rglLight")]
public sealed class Light : GameEntityComponent
- Inheritance
-
Light
- Inherited Members
Properties
Frame
public MatrixFrame Frame { get; set; }
Property Value
Intensity
public float Intensity { get; set; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
LightColor
public Vec3 LightColor { get; set; }
Property Value
Radius
public float Radius { get; set; }
Property Value
ShadowEnabled
public bool ShadowEnabled { get; set; }
Property Value
Methods
CreatePointLight(float)
public static Light CreatePointLight(float lightRadius)
Parameters
lightRadius
float
Returns
Dispose()
public void Dispose()
~Light()
protected ~Light()
SetLightFlicker(float, float)
public void SetLightFlicker(float magnitude, float interval)
Parameters
SetShadowType(ShadowType)
public void SetShadowType(Light.ShadowType type)
Parameters
type
Light.ShadowType
SetVisibility(bool)
public void SetVisibility(bool value)
Parameters
value
bool
SetVolumetricProperties(bool, float)
public void SetVolumetricProperties(bool volumetricLightEnabled, float volumeParameters)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).