Online Maps v3
|
Class of range. More...
Public Member Functions | |
OnlineMapsRange (float min=float.MinValue, float max=float.MaxValue, float minLimit=OnlineMaps.MINZOOM, float maxLimit=OnlineMaps.MAXZOOM_EXT) | |
Constructor. | |
float | CheckAndFix (float value) |
Checks and limits value. | |
bool | InRange (float value) |
Checks whether the number in the range. | |
override string | ToString () |
Converts a range to string. | |
bool | Update (float newMin, float newMax) |
Updates the minimum and maximum values. | |
Public Attributes | |
float | max = float.MaxValue |
Maximum value. | |
float | min = float.MinValue |
Minimum value. | |
float | maxLimit = OnlineMaps.MAXZOOM_EXT |
Maximum limit. Uses in inspector. | |
float | minLimit = OnlineMaps.MINZOOM |
Minimum limit. Uses in inspector. | |
Class of range.
OnlineMapsRange.OnlineMapsRange | ( | float | min = float::MinValue, |
float | max = float::MaxValue, | ||
float | minLimit = OnlineMaps::MINZOOM, | ||
float | maxLimit = OnlineMaps::MAXZOOM_EXT ) |
Constructor.
min | Minimum value. |
max | Maximum value. |
minLimit | Minimum limit. |
maxLimit | Maximum limit. |
float OnlineMapsRange.CheckAndFix | ( | float | value | ) |
Checks and limits value.
value | Value |
bool OnlineMapsRange.InRange | ( | float | value | ) |
Checks whether the number in the range.
value | Value |
override string OnlineMapsRange.ToString | ( | ) |
Converts a range to string.
bool OnlineMapsRange.Update | ( | float | newMin, |
float | newMax ) |
Updates the minimum and maximum values.
newMin | Minimum value. |
newMax | Maximum value. |