Struct TerrainSize
- Namespace
- AlphaFramework.World.Terrains
- Assembly
- AlphaFramework.World.dll
Contains information about the size of a ITerrain.
public struct TerrainSize
- Inherited Members
Constructors
TerrainSize(int, int, float, float)
Creates a new ITerrain point information struct.
public TerrainSize(int x, int y, float stretchH = 1, float stretchV = 1)
Parameters
xintThe size along the x-axis.
yintThe size along the y-axis.
stretchHfloatA factor by which the terrain is horizontally stretched.
stretchVfloatA factor by which the terrain is vertically stretched.
Properties
StretchH
A factor by which the ITerrain is horizontally stretched.
public float StretchH { readonly get; set; }
Property Value
StretchV
A factor by which the ITerrain is vertically stretched.
public float StretchV { readonly get; set; }
Property Value
X
The size of the ITerrain along the X-axis.
public int X { readonly get; set; }
Property Value
Y
The size of the ITerrain along the Y-axis.
public int Y { readonly get; set; }