Table of Contents

Class SmoPortal

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

One MOPT portal: a polygon plane separating two groups.

public class SmoPortal : IDisposable
Inheritance
SmoPortal
Implements
Inherited Members

Constructors

SmoPortal()

public SmoPortal()

SmoPortal(ushort, ushort, C4Plane)

public SmoPortal(ushort startVertex, ushort count, C4Plane plane)

Parameters

startVertex ushort
count ushort
plane C4Plane

SmoPortal(SmoPortal)

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

public SmoPortal(SmoPortal other)

Parameters

other SmoPortal

Properties

Count

Vertex count.

public ushort Count { get; set; }

Property Value

ushort

Plane

The portal plane.

public C4Plane Plane { get; set; }

Property Value

C4Plane

StartVertex

First vertex in MOPV.

public ushort StartVertex { 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 virtual void Dispose()