Table of Contents

Class SmomVert

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

The magma/slime reading of an MLIQ vertex (8 bytes): two int16 texture coordinates sharing the layout with the water reading (SMOLVert). Obtain one with SMOLVert.as_magma(); which reading is correct is set by the group's liquid type, not stored per vertex.

public class SmomVert : IDisposable
Inheritance
SmomVert
Implements
Inherited Members

Constructors

SmomVert()

public SmomVert()

SmomVert(short, short, float)

public SmomVert(short s, short t, float height)

Parameters

s short
t short
height float

SmomVert(SmomVert)

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

public SmomVert(SmomVert other)

Parameters

other SmomVert

Properties

Height

Liquid surface height, shared with the water reading.

public float Height { get; set; }

Property Value

float

S

Texture coordinate s (the water flow1/flow2 bytes).

public short S { get; set; }

Property Value

short

T

Texture coordinate t (the water flow1_pct/filler bytes).

public short T { get; set; }

Property Value

short

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()