Class SmVert
The magma/slime reading of a legacy liquid vertex (MCLQ): u16 texture coordinates s, t and the shared height. See SLVert.as_magma().
public class SmVert : IDisposable
- Inheritance
-
SmVert
- Implements
- Inherited Members
Constructors
SmVert()
public SmVert()
SmVert(ushort, ushort, float)
public SmVert(ushort s, ushort t, float height)
Parameters
SmVert(SmVert)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SmVert(SmVert other)
Parameters
otherSmVert
Properties
Height
Liquid surface height (shared with the water reading).
public float Height { get; set; }
Property Value
S
Texture coordinate s.
public ushort S { get; set; }
Property Value
T
Texture coordinate t.
public ushort 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()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(SmVert?, SmVert?)
public static bool operator ==(SmVert? l, SmVert? r)
Parameters
Returns
operator !=(SmVert?, SmVert?)
public static bool operator !=(SmVert? l, SmVert? r)