Table of Contents

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

x int

The size along the x-axis.

y int

The size along the y-axis.

stretchH float

A factor by which the terrain is horizontally stretched.

stretchV float

A 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

float

StretchV

A factor by which the ITerrain is vertically stretched.

public float StretchV { readonly get; set; }

Property Value

float

X

The size of the ITerrain along the X-axis.

public int X { readonly get; set; }

Property Value

int

Y

The size of the ITerrain along the Y-axis.

public int Y { readonly get; set; }

Property Value

int

See Also