Table of Contents

Class M2RibbonVanillaToTbc

Namespace
WoWLib.Formats.M2.Root.Record
Assembly
WoWLib.dll

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

other M2RibbonVanillaToTbc

Properties

Alpha

0 transparent .. 0x7FFF opaque.

public M2TrackFixed16VanillaToTbc Alpha { get; set; }

Property Value

M2TrackFixed16VanillaToTbc

BoneIndex

The bone the ribbon trails from.

public uint BoneIndex { get; set; }

Property Value

uint

Color

RGB multiplier for the material.

public M2TrackC3VectorVanillaToTbc Color { get; set; }

Property Value

M2TrackC3VectorVanillaToTbc

EdgeLifetime

Seconds a quad stays around.

public float EdgeLifetime { get; set; }

Property Value

float

EdgesPerSecond

Quad emission rate.

public float EdgesPerSecond { get; set; }

Property Value

float

Gravity

Sinks/rises the ribbon over time.

public float Gravity { get; set; }

Property Value

float

HeightAbove

Ribbon width above the bone origin.

public M2TrackFloatVanillaToTbc HeightAbove { get; set; }

Property Value

M2TrackFloatVanillaToTbc

HeightBelow

Ribbon width below the bone origin; do not set equal to height_above.

public M2TrackFloatVanillaToTbc HeightBelow { get; set; }

Property Value

M2TrackFloatVanillaToTbc

MaterialIndices

Into the model's materials.

public Vector<ushort> MaterialIndices { get; set; }

Property Value

Vector<ushort>

Position

Relative to that bone.

public C3Vector Position { get; set; }

Property Value

C3Vector

PriorityPlane

Render priority plane (WotLK+).

public short PriorityPlane { get; set; }

Property Value

short

RibbonColorIndex

ParticleColor.dbc replacement-color index (WotLK+).

public sbyte RibbonColorIndex { get; set; }

Property Value

sbyte

RibbonId

Always -1 in known files.

public uint RibbonId { get; set; }

Property Value

uint

TexSlot

Animated flipbook cell index.

public M2TrackUInt16VanillaToTbc TexSlot { get; set; }

Property Value

M2TrackUInt16VanillaToTbc

TextureCols

Flipbook tiling.

public ushort TextureCols { get; set; }

Property Value

ushort

TextureIndices

Into the model's textures.

public Vector<ushort> TextureIndices { get; set; }

Property Value

Vector<ushort>

TextureRows

Flipbook tiling.

public ushort TextureRows { get; set; }

Property Value

ushort

TextureTransformLookupIndex

Index into the texture-transform combos, applied only under global flag 0x20000 (WotLK+).

public sbyte TextureTransformLookupIndex { get; set; }

Property Value

sbyte

Visibility

Bool track: ribbon visible.

public M2TrackUInt8VanillaToTbc Visibility { get; set; }

Property Value

M2TrackUInt8VanillaToTbc

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

l M2RibbonVanillaToTbc
r M2RibbonVanillaToTbc

Returns

bool

operator !=(M2RibbonVanillaToTbc?, M2RibbonVanillaToTbc?)

public static bool operator !=(M2RibbonVanillaToTbc? l, M2RibbonVanillaToTbc? r)

Parameters

l M2RibbonVanillaToTbc
r M2RibbonVanillaToTbc

Returns

bool