GeometryBase

Description

abstract class Tinman.Terrain.Geometries.GeometryBase

Derived from

IGeometry

Extended by

Geometry abstract

Abstract base class for IGeometry implementations.

Protected / Constructors

Geometry​Base

2 overloads


protected constructor GeometryBase1 → (1)

other in : IGeometry

[not-null]
The base geometry object.

Creates a new instance of GeometryBase.


protected constructor GeometryBase2 → (3)

width in : int32

[>0]
The map width, in samples.

height in : int32

[>0]
The map height, in samples.

mapType in : MapType

The map type.

Creates a new instance of GeometryBase.

Protected / Methods

Do​To​Size


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.