Table of Contents

Class SmoPoly

Namespace
WoWLib.Formats.WMO.Group.Chunks
Assembly
WoWLib.dll

Per-triangle material info (MOPY).

public class SmoPoly : IDisposable
Inheritance
SmoPoly
Implements
Inherited Members

Constructors

SmoPoly()

public SmoPoly()

SmoPoly(PolyFlags, byte)

public SmoPoly(PolyFlags flags, byte materialId)

Parameters

flags PolyFlags
materialId byte

SmoPoly(SmoPoly)

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

public SmoPoly(SmoPoly other)

Parameters

other SmoPoly

Properties

Flags

Triangle flags; PolyFlags bits.

public PolyFlags Flags { get; set; }

Property Value

PolyFlags

MaterialId

Index into MOMT; 0xFF for collision-only faces.

public byte MaterialId { get; set; }

Property Value

byte

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 virtual void Dispose()