Class M2LightWotlkPlus
A model light: type 0 directional (login screens only), 1 point.
public class M2LightWotlkPlus : M2Light, IDisposable
- Inheritance
-
M2LightWotlkPlus
- Implements
- Inherited Members
Constructors
M2LightWotlkPlus()
public M2LightWotlkPlus()
M2LightWotlkPlus(M2LightWotlkPlus)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2LightWotlkPlus(M2LightWotlkPlus other)
Parameters
otherM2LightWotlkPlus
Properties
AmbientColor
RGB ambient color (no alpha).
public M2TrackC3VectorWotlkPlus AmbientColor { get; set; }
Property Value
AmbientIntensity
Multiplies the ambient color; defaults to 1.0.
public M2TrackFloatWotlkPlus AmbientIntensity { get; set; }
Property Value
AttenuationEnd
Distance where the light fades out entirely.
public M2TrackFloatWotlkPlus AttenuationEnd { get; set; }
Property Value
AttenuationStart
Distance where attenuation begins.
public M2TrackFloatWotlkPlus AttenuationStart { get; set; }
Property Value
Bone
Bone to attach to, -1 for none.
public short Bone { get; set; }
Property Value
DiffuseColor
RGB diffuse color (no alpha).
public M2TrackC3VectorWotlkPlus DiffuseColor { get; set; }
Property Value
DiffuseIntensity
Multiplies the diffuse color; defaults to 1.0.
public M2TrackFloatWotlkPlus DiffuseIntensity { get; set; }
Property Value
Position
Relative to the bone, if any.
public C3Vector Position { get; set; }
Property Value
Type
0 directional, 1 point.
public ushort Type { get; set; }
Property Value
Visibility
Bool track: the light is enabled.
public M2TrackUInt8WotlkPlus Visibility { 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 override void Dispose()
Operators
operator ==(M2LightWotlkPlus?, M2LightWotlkPlus?)
public static bool operator ==(M2LightWotlkPlus? l, M2LightWotlkPlus? r)
Parameters
Returns
operator !=(M2LightWotlkPlus?, M2LightWotlkPlus?)
public static bool operator !=(M2LightWotlkPlus? l, M2LightWotlkPlus? r)