Class M2SkinProfileVanilla
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
otherM2SkinProfileVanilla
Properties
Batches
The render batches (texture units).
public Vector<M2Batch> Batches { get; set; }
Property Value
BoneCountMax
Max bones per draw call (21/53/64/256).
public uint BoneCountMax { get; set; }
Property Value
Bones
Per-vertex 4-bone indices.
public Vector<FixedArray<byte>> Bones { get; set; }
Property Value
Indices
Triangle list into the local vertices.
public Vector<ushort> Indices { get; set; }
Property Value
ShadowBatches
Shadow batches (Cata+).
public Vector<M2ShadowBatch> ShadowBatches { get; set; }
Property Value
Submeshes
The submeshes (skin sections).
public Vector<M2SkinSectionVanilla> Submeshes { get; set; }
Property Value
Vertices
Local -> global vertex lookup.
public Vector<ushort> Vertices { get; set; }
Property Value
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
Returns
operator !=(M2SkinProfileVanilla?, M2SkinProfileVanilla?)
public static bool operator !=(M2SkinProfileVanilla? l, M2SkinProfileVanilla? r)