Class PointLight
One MOLP point light (Legion+).
public class PointLight : IDisposable
- Inheritance
-
PointLight
- Implements
- Inherited Members
Constructors
PointLight()
public PointLight()
PointLight(uint, CImVector, C3Vector, float, float, float, float, uint, uint)
public PointLight(uint unknown1, CImVector color, C3Vector position, float intensity, float attenStart, float attenEnd, float unknown2, uint unknown3, uint unknown4)
Parameters
unknown1uintcolorCImVectorpositionC3VectorintensityfloatattenStartfloatattenEndfloatunknown2floatunknown3uintunknown4uint
PointLight(PointLight)
Copy-construct: a deep copy of other (the C++ copy constructor).
public PointLight(PointLight other)
Parameters
otherPointLight
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 of the light.
public C3Vector Position { get; set; }
Property Value
Unknown1
Unknown; preserved for round-trip.
public uint Unknown1 { get; set; }
Property Value
Unknown2
Unknown; only zeros observed.
public float Unknown2 { get; set; }
Property Value
Unknown3
Unknown; preserved for round-trip.
public uint Unknown3 { get; set; }
Property Value
Unknown4
Unknown; possibly a color.
public uint Unknown4 { 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()