Class M2RibbonVanillaToTbc
A ribbon (trail) emitter; the priority/color-index tail exists WotLK+.
public class M2RibbonVanillaToTbc : M2Ribbon, IDisposable
- Inheritance
-
M2RibbonVanillaToTbc
- Implements
- Inherited Members
Constructors
M2RibbonVanillaToTbc()
public M2RibbonVanillaToTbc()
M2RibbonVanillaToTbc(M2RibbonVanillaToTbc)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2RibbonVanillaToTbc(M2RibbonVanillaToTbc other)
Parameters
otherM2RibbonVanillaToTbc
Properties
Alpha
0 transparent .. 0x7FFF opaque.
public M2TrackFixed16VanillaToTbc 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 M2TrackC3VectorVanillaToTbc 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 M2TrackFloatVanillaToTbc HeightAbove { get; set; }
Property Value
HeightBelow
Ribbon width below the bone origin; do not set equal to height_above.
public M2TrackFloatVanillaToTbc 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 M2TrackUInt16VanillaToTbc 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 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 ==(M2RibbonVanillaToTbc?, M2RibbonVanillaToTbc?)
public static bool operator ==(M2RibbonVanillaToTbc? l, M2RibbonVanillaToTbc? r)
Parameters
Returns
operator !=(M2RibbonVanillaToTbc?, M2RibbonVanillaToTbc?)
public static bool operator !=(M2RibbonVanillaToTbc? l, M2RibbonVanillaToTbc? r)