Skip to main content

MapUnit Methods

A class that contains a location in internal map units.
Name Description
Equals(MapUnit, MapUnit) static Determines whether the two specified MapUnit objects are equal.
Equals(MapUnit) Determines whether the specified object is equal to the current MapUnit instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current MapUnit instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current MapUnit object.
GetType() Gets the Type of the current instance. Inherited from Object.
Normalize(MapUnit) static Normalizes the specified map unit’s coordinates to the range from 0 to 1.
Parse(String) static Converts the string representation of a map unit to its MapUnit equivalent.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of MapUnit.
ToString(IFormatProvider) Returns the textual representation of MapUnit.
See Also