Table of Contents

Class M2SkinProfileCataPlus

Namespace
WoWLib.Formats.M2.Skin
Assembly
WoWLib.dll

One LOD view: local vertex/bone lookups into the model, submeshes and render batches; embedded in the model pre-WotLK, an own .skin file after.

public class M2SkinProfileCataPlus : M2SkinProfile, IDisposable
Inheritance
M2SkinProfileCataPlus
Implements
Inherited Members

Constructors

M2SkinProfileCataPlus()

public M2SkinProfileCataPlus()

M2SkinProfileCataPlus(M2SkinProfileCataPlus)

Copy-construct: a deep copy of other (the C++ copy constructor).

public M2SkinProfileCataPlus(M2SkinProfileCataPlus other)

Parameters

other M2SkinProfileCataPlus

Properties

Batches

The render batches (texture units).

public Vector<M2Batch> Batches { get; set; }

Property Value

Vector<M2Batch>

BoneCountMax

Max bones per draw call (21/53/64/256).

public uint BoneCountMax { get; set; }

Property Value

uint

Bones

Per-vertex 4-bone indices.

public Vector<FixedArray<byte>> Bones { get; set; }

Property Value

Vector<FixedArray<byte>>

Indices

Triangle list into the local vertices.

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

Property Value

Vector<ushort>

ShadowBatches

Shadow batches (Cata+).

public Vector<M2ShadowBatch> ShadowBatches { get; set; }

Property Value

Vector<M2ShadowBatch>

Submeshes

The submeshes (skin sections).

public Vector<M2SkinSectionTbcPlus> Submeshes { get; set; }

Property Value

Vector<M2SkinSectionTbcPlus>

Vertices

Local -> global vertex lookup.

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

Property Value

Vector<ushort>

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 ==(M2SkinProfileCataPlus?, M2SkinProfileCataPlus?)

public static bool operator ==(M2SkinProfileCataPlus? l, M2SkinProfileCataPlus? r)

Parameters

l M2SkinProfileCataPlus
r M2SkinProfileCataPlus

Returns

bool

operator !=(M2SkinProfileCataPlus?, M2SkinProfileCataPlus?)

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

Parameters

l M2SkinProfileCataPlus
r M2SkinProfileCataPlus

Returns

bool