|
Real World Terrain
v4.1
|
Integer version of Vector2 struct. More...
Public Member Functions | |
| RealWorldTerrainVector2i (int X=0, int Y=0) | |
| Constructor. More... | |
Public Attributes | |
| int | x |
| The x value. More... | |
| int | y |
| The y value. More... | |
Properties | |
| static RealWorldTerrainVector2i | one [get] |
| Gets the RealWorldTerrainVector2i where x=1 and y=1. More... | |
| int | count [get] |
| Returns the count items (X * Y). More... | |
| int | max [get] |
| Returns the maximum value of x and y. More... | |
Integer version of Vector2 struct.
| InfinityCode.RealWorldTerrain.RealWorldTerrainVector2i.RealWorldTerrainVector2i | ( | int | X = 0, |
| int | Y = 0 |
||
| ) |
Constructor.
| X | X value. |
| Y | Y value. |
| int InfinityCode.RealWorldTerrain.RealWorldTerrainVector2i.x |
The x value.
| int InfinityCode.RealWorldTerrain.RealWorldTerrainVector2i.y |
The y value.
|
get |
Returns the count items (X * Y).
|
get |
Returns the maximum value of x and y.
|
staticget |
Gets the RealWorldTerrainVector2i where x=1 and y=1.