abstract class Tinman.Terrain.Geometries.GeometryBase

Derived from


Extended by

Geometry abstract

Abstract base class for IGeometry implementations.

Protected / Constructors


2 overloads

protected constructor GeometryBase1 → (1)

other in : IGeometry

The base geometry object.

Creates a new instance of GeometryBase.

protected constructor GeometryBase2 → (3)

width in : int32

The map width, in samples.

height in : int32

The map height, in samples.

mapType in : MapType

The map type.

Creates a new instance of GeometryBase.

Protected / Methods


protected abstract method DoToSize → (1)

size in : int32

The map size. Will always be a power of two and will be different to the current map size.

returns → IGeometry

The resulting geometry.

Changes the map size of this geometry.