Class SmoLight
One MOLT light. Not rendered by classic-era clients, but baked into vertex colors by the exporter.
public class SmoLight : IDisposable
- Inheritance
-
SmoLight
- Implements
- Inherited Members
Constructors
SmoLight()
public SmoLight()
SmoLight(SmoLight)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SmoLight(SmoLight other)
Parameters
otherSmoLight
Properties
AttenEnd
Attenuation end distance.
public float AttenEnd { get; set; }
Property Value
AttenStart
Attenuation start distance.
public float AttenStart { get; set; }
Property Value
Color
Light color.
public CImVector Color { get; set; }
Property Value
Intensity
Intensity.
public float Intensity { get; set; }
Property Value
Position
Position in model space.
public C3Vector Position { get; set; }
Property Value
Rotation
Orientation; spot/direct lights only.
public C4Quaternion Rotation { get; set; }
Property Value
Type
The light kind; a LightType value.
public byte Type { get; set; }
Property Value
UseAtten
Whether attenuation applies.
public byte UseAtten { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()