Contains information about the size of a ITerrain.
More...
Contains information about the size of a ITerrain.
- See also
- ITerrain.Size
◆ TerrainSize()
AlphaFramework.World.Terrains.TerrainSize.TerrainSize |
( |
int |
x, |
|
|
int |
y, |
|
|
float |
stretchH = 1 , |
|
|
float |
stretchV = 1 |
|
) |
| |
|
inline |
Creates a new ITerrain point information struct.
- Parameters
-
x | The size along the x-axis. |
y | The size along the y-axis. |
stretchH | A factor by which the terrain is horizontally stretched. |
stretchV | A factor by which the terrain is vertically stretched. |
◆ operator Size()
static implicit AlphaFramework.World.Terrains.TerrainSize.operator Size |
( |
TerrainSize |
size | ) |
|
|
inlinestatic |
◆ operator TerrainSize()
static implicit AlphaFramework.World.Terrains.TerrainSize.operator TerrainSize |
( |
Size |
size | ) |
|
|
inlinestatic |
◆ StretchH
float AlphaFramework.World.Terrains.TerrainSize.StretchH |
|
getset |
A factor by which the ITerrain is horizontally stretched.
◆ StretchV
float AlphaFramework.World.Terrains.TerrainSize.StretchV |
|
getset |
A factor by which the ITerrain is vertically stretched.
int AlphaFramework.World.Terrains.TerrainSize.X |
|
getset |
The size of the ITerrain along the X-axis.
int AlphaFramework.World.Terrains.TerrainSize.Y |
|
getset |
The size of the ITerrain along the Y-axis.
The documentation for this struct was generated from the following file:
- World/Terrains/TerrainSize.cs