Class M2RibbonWotlkPlus
A ribbon (trail) emitter; the priority/color-index tail exists WotLK+.
public class M2RibbonWotlkPlus : M2Ribbon, IDisposable
- Inheritance
-
M2RibbonWotlkPlus
- Implements
- Inherited Members
Constructors
M2RibbonWotlkPlus()
public M2RibbonWotlkPlus()
M2RibbonWotlkPlus(M2RibbonWotlkPlus)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2RibbonWotlkPlus(M2RibbonWotlkPlus other)
Parameters
otherM2RibbonWotlkPlus
Properties
Alpha
0 transparent .. 0x7FFF opaque.
public M2TrackFixed16WotlkPlus Alpha { get; set; }
Property Value
BoneIndex
The bone the ribbon trails from.
public uint BoneIndex { get; set; }
Property Value
Color
RGB multiplier for the material.
public M2TrackC3VectorWotlkPlus Color { get; set; }
Property Value
EdgeLifetime
Seconds a quad stays around.
public float EdgeLifetime { get; set; }
Property Value
EdgesPerSecond
Quad emission rate.
public float EdgesPerSecond { get; set; }
Property Value
Gravity
Sinks/rises the ribbon over time.
public float Gravity { get; set; }
Property Value
HeightAbove
Ribbon width above the bone origin.
public M2TrackFloatWotlkPlus HeightAbove { get; set; }
Property Value
HeightBelow
Ribbon width below the bone origin; do not set equal to height_above.
public M2TrackFloatWotlkPlus HeightBelow { get; set; }
Property Value
MaterialIndices
Into the model's materials.
public Vector<ushort> MaterialIndices { get; set; }
Property Value
Position
Relative to that bone.
public C3Vector Position { get; set; }
Property Value
PriorityPlane
Render priority plane (WotLK+).
public short PriorityPlane { get; set; }
Property Value
RibbonColorIndex
ParticleColor.dbc replacement-color index (WotLK+).
public sbyte RibbonColorIndex { get; set; }
Property Value
RibbonId
Always -1 in known files.
public uint RibbonId { get; set; }
Property Value
TexSlot
Animated flipbook cell index.
public M2TrackUInt16WotlkPlus TexSlot { get; set; }
Property Value
TextureCols
Flipbook tiling.
public ushort TextureCols { get; set; }
Property Value
TextureIndices
Into the model's textures.
public Vector<ushort> TextureIndices { get; set; }
Property Value
TextureRows
Flipbook tiling.
public ushort TextureRows { get; set; }
Property Value
TextureTransformLookupIndex
Index into the texture-transform combos, applied only under global flag 0x20000 (WotLK+).
public sbyte TextureTransformLookupIndex { get; set; }
Property Value
Visibility
Bool track: ribbon visible.
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 ==(M2RibbonWotlkPlus?, M2RibbonWotlkPlus?)
public static bool operator ==(M2RibbonWotlkPlus? l, M2RibbonWotlkPlus? r)
Parameters
Returns
operator !=(M2RibbonWotlkPlus?, M2RibbonWotlkPlus?)
public static bool operator !=(M2RibbonWotlkPlus? l, M2RibbonWotlkPlus? r)