Table of Contents

Class M2SkinSectionTbcPlus

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

A skin submesh (TBC+): adds the sort center and radius.

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

Constructors

M2SkinSectionTbcPlus()

public M2SkinSectionTbcPlus()

M2SkinSectionTbcPlus(M2SkinSectionTbcPlus)

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

public M2SkinSectionTbcPlus(M2SkinSectionTbcPlus other)

Parameters

other M2SkinSectionTbcPlus

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

SortCenterPosition

Center of the submesh bounding box.

public C3Vector SortCenterPosition { get; set; }

Property Value

C3Vector

SortRadius

Distance of the farthest vertex from it.

public float SortRadius { get; set; }

Property Value

float

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

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

Parameters

l M2SkinSectionTbcPlus
r M2SkinSectionTbcPlus

Returns

bool

operator !=(M2SkinSectionTbcPlus?, M2SkinSectionTbcPlus?)

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

Parameters

l M2SkinSectionTbcPlus
r M2SkinSectionTbcPlus

Returns

bool