Class M2Vec2Fp69
A 2D vector of 6.9 fixed-point values (raw u16 storage).
public class M2Vec2Fp69 : IDisposable
- Inheritance
-
M2Vec2Fp69
- Implements
- Inherited Members
Constructors
M2Vec2Fp69()
public M2Vec2Fp69()
M2Vec2Fp69(ushort, ushort)
public M2Vec2Fp69(ushort x, ushort y)
Parameters
M2Vec2Fp69(M2Vec2Fp69)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2Vec2Fp69(M2Vec2Fp69 other)
Parameters
otherM2Vec2Fp69
Properties
X
Raw 6.9 fixed-point x component.
public ushort X { get; set; }
Property Value
Y
Raw 6.9 fixed-point y component.
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 ==(M2Vec2Fp69?, M2Vec2Fp69?)
public static bool operator ==(M2Vec2Fp69? l, M2Vec2Fp69? r)
Parameters
lM2Vec2Fp69rM2Vec2Fp69
Returns
operator !=(M2Vec2Fp69?, M2Vec2Fp69?)
public static bool operator !=(M2Vec2Fp69? l, M2Vec2Fp69? r)
Parameters
lM2Vec2Fp69rM2Vec2Fp69