Class SmomVert
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
SmomVert(SmomVert)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SmomVert(SmomVert other)
Parameters
otherSmomVert
Properties
Height
Liquid surface height, shared with the water reading.
public float Height { get; set; }
Property Value
S
Texture coordinate s (the water flow1/flow2 bytes).
public short S { get; set; }
Property Value
T
Texture coordinate t (the water flow1_pct/filler bytes).
public short T { 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 virtual void Dispose()