Class M2LightVanillaToTbc
A model light: type 0 directional (login screens only), 1 point.
public class M2LightVanillaToTbc : M2Light, IDisposable
- Inheritance
-
M2LightVanillaToTbc
- Implements
- Inherited Members
Constructors
M2LightVanillaToTbc()
public M2LightVanillaToTbc()
M2LightVanillaToTbc(M2LightVanillaToTbc)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2LightVanillaToTbc(M2LightVanillaToTbc other)
Parameters
otherM2LightVanillaToTbc
Properties
AmbientColor
RGB ambient color (no alpha).
public M2TrackC3VectorVanillaToTbc AmbientColor { get; set; }
Property Value
AmbientIntensity
Multiplies the ambient color; defaults to 1.0.
public M2TrackFloatVanillaToTbc AmbientIntensity { get; set; }
Property Value
AttenuationEnd
Distance where the light fades out entirely.
public M2TrackFloatVanillaToTbc AttenuationEnd { get; set; }
Property Value
AttenuationStart
Distance where attenuation begins.
public M2TrackFloatVanillaToTbc 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 M2TrackC3VectorVanillaToTbc DiffuseColor { get; set; }
Property Value
DiffuseIntensity
Multiplies the diffuse color; defaults to 1.0.
public M2TrackFloatVanillaToTbc 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 M2TrackUInt8VanillaToTbc 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 ==(M2LightVanillaToTbc?, M2LightVanillaToTbc?)
public static bool operator ==(M2LightVanillaToTbc? l, M2LightVanillaToTbc? r)
Parameters
Returns
operator !=(M2LightVanillaToTbc?, M2LightVanillaToTbc?)
public static bool operator !=(M2LightVanillaToTbc? l, M2LightVanillaToTbc? r)