Class M2EventTrackVanillaToTbc
A timestamp-only event track, pre-WotLK layout (every key fires).
public class M2EventTrackVanillaToTbc : M2EventTrack, IDisposable, IAnimTimeline
- Inheritance
-
M2EventTrackVanillaToTbc
- Implements
- Inherited Members
Constructors
M2EventTrackVanillaToTbc()
public M2EventTrackVanillaToTbc()
M2EventTrackVanillaToTbc(M2EventTrackVanillaToTbc)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2EventTrackVanillaToTbc(M2EventTrackVanillaToTbc other)
Parameters
otherM2EventTrackVanillaToTbc
Properties
GlobalSequence
The global sequence driving this track; -1: none.
public ushort GlobalSequence { get; set; }
Property Value
InterpolationRanges
Per-sequence [first, last] key-index ranges into the global timeline.
public Vector<M2Range> InterpolationRanges { get; set; }
Property Value
InterpolationType
Interpolation: 0 none, 1 linear (keys fire, no value to interpolate).
public ushort InterpolationType { get; set; }
Property Value
Timestamps
The global timeline's trigger timestamps.
public Vector<uint> Timestamps { 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()
KeyCount(ulong)
The number of trigger keys on one timeline.
public ulong KeyCount(ulong timeline)
Parameters
timelineulongthe timeline index
Returns
- ulong
the key count; errors when timeline is out of range
TimelineCount()
The number of timelines this track carries: one per interpolation range, or a single timeline 0 for a global-sequence-driven or rangeless track (0 when the track is empty).
public ulong TimelineCount()
Returns
TimelineTimestamps(ulong)
One timeline's trigger timestamps, as a copy.
public uint[] TimelineTimestamps(ulong timeline)
Parameters
timelineulongthe timeline index
Returns
- uint[]
the timestamps; errors when timeline is out of range
Operators
operator ==(M2EventTrackVanillaToTbc?, M2EventTrackVanillaToTbc?)
public static bool operator ==(M2EventTrackVanillaToTbc? l, M2EventTrackVanillaToTbc? r)
Parameters
Returns
operator !=(M2EventTrackVanillaToTbc?, M2EventTrackVanillaToTbc?)
public static bool operator !=(M2EventTrackVanillaToTbc? l, M2EventTrackVanillaToTbc? r)