Table of Contents

Class M2SkinProfileVanilla

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 M2SkinProfileVanilla : M2SkinProfile, IDisposable
Inheritance
M2SkinProfileVanilla
Implements
Inherited Members

Constructors

M2SkinProfileVanilla()

public M2SkinProfileVanilla()

M2SkinProfileVanilla(M2SkinProfileVanilla)

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

public M2SkinProfileVanilla(M2SkinProfileVanilla other)

Parameters

other M2SkinProfileVanilla

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<M2SkinSectionVanilla> Submeshes { get; set; }

Property Value

Vector<M2SkinSectionVanilla>

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

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

Parameters

l M2SkinProfileVanilla
r M2SkinProfileVanilla

Returns

bool

operator !=(M2SkinProfileVanilla?, M2SkinProfileVanilla?)

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

Parameters

l M2SkinProfileVanilla
r M2SkinProfileVanilla

Returns

bool