Table of Contents

Class M2SkinSectionVanilla

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

A skin submesh, vanilla layout (no sort data yet).

public class M2SkinSectionVanilla : M2SkinSection, IDisposable
Inheritance
M2SkinSectionVanilla
Implements
Inherited Members

Constructors

M2SkinSectionVanilla()

public M2SkinSectionVanilla()

M2SkinSectionVanilla(M2SkinSectionVanilla)

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

public M2SkinSectionVanilla(M2SkinSectionVanilla other)

Parameters

other M2SkinSectionVanilla

Properties

BoneComboIndex

First bone-lookup entry.

public ushort BoneComboIndex { get; set; }

Property Value

ushort

BoneCount

Bone-lookup entries used.

public ushort BoneCount { get; set; }

Property Value

ushort

BoneInfluences

Highest bones-per-vertex in the submesh.

public ushort BoneInfluences { get; set; }

Property Value

ushort

CenterBoneIndex

The bone nearest the submesh center; wowdev leaves it otherwise undescribed.

public ushort CenterBoneIndex { get; set; }

Property Value

ushort

CenterPosition

Average vertex position.

public C3Vector CenterPosition { get; set; }

Property Value

C3Vector

IndexCount

Triangle index count.

public ushort IndexCount { get; set; }

Property Value

ushort

IndexStart

First triangle index.

public ushort IndexStart { get; set; }

Property Value

ushort

Level

public ushort Level { get; set; }

Property Value

ushort

SkinSectionId

Mesh part (geoset) id.

public ushort SkinSectionId { get; set; }

Property Value

ushort

VertexCount

Local vertex count.

public ushort VertexCount { get; set; }

Property Value

ushort

VertexStart

First local vertex.

public ushort VertexStart { get; set; }

Property Value

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

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

Parameters

l M2SkinSectionVanilla
r M2SkinSectionVanilla

Returns

bool

operator !=(M2SkinSectionVanilla?, M2SkinSectionVanilla?)

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

Parameters

l M2SkinSectionVanilla
r M2SkinSectionVanilla

Returns

bool