Class UvMapEntry
An MH2O liquid UV coordinate (case 1/3): x and y, each divided by 8 for shaders.
public class UvMapEntry : IDisposable
- Inheritance
-
UvMapEntry
- Implements
- Inherited Members
Constructors
UvMapEntry()
public UvMapEntry()
UvMapEntry(ushort, ushort)
public UvMapEntry(ushort x, ushort y)
Parameters
UvMapEntry(UvMapEntry)
Copy-construct: a deep copy of other (the C++ copy constructor).
public UvMapEntry(UvMapEntry other)
Parameters
otherUvMapEntry
Properties
X
The u coordinate (divided by 8 in shaders).
public ushort X { get; set; }
Property Value
Y
The v coordinate.
public ushort Y { 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 ==(UvMapEntry?, UvMapEntry?)
public static bool operator ==(UvMapEntry? l, UvMapEntry? r)
Parameters
lUvMapEntryrUvMapEntry
Returns
operator !=(UvMapEntry?, UvMapEntry?)
public static bool operator !=(UvMapEntry? l, UvMapEntry? r)
Parameters
lUvMapEntryrUvMapEntry