Unit CastleTerrain

Functions and Procedures
Constants
Variables

Description

Terrain (height map) components.

TODO: Terrain API is not finalized yet, there may be significant incompatible changes to this unit in the future. Big TODOs:

Smaller TODOs:

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastleTerrainData Terrain (height map) data that can be used for TCastleTerrain.Data.
Class TCastleTerrainImage Terrain (height map) data taken from intensities in an image.
Class TTerrainCasScript Terrain (height for each X, Y) data calculated from CastleScript expression.
Class TCastleTerrainNoise Terrain heights are generated from a smooth noise, combined with some terrain-specific improvements (Heterogeneous).
Class TCastleTerrainCombine Combine (add, multiply, do maximum or minimum) two other terrain data sources.
Class TCastleTerrainLayer Layer of a terrain properties.
Class TCastleTerrain Terrain.

Types

TNoiseInterpolation = (...);
TTerrain = TCastleTerrainData deprecated 'use TCastleTerrainData';
TTerrainImage = TCastleTerrainImage deprecated 'use TCastleTerrainImage';
TTerrainNoise = TCastleTerrainNoise deprecated 'use TCastleTerrainNoise';
TCastleTerrainCombineOperation = (...);

Description

Types

TNoiseInterpolation = (...);
 
Values
  • niNone
  • niLinear
  • niCosine
  • niSpline
TTerrain = TCastleTerrainData deprecated 'use TCastleTerrainData';

Warning: this symbol is deprecated: use TCastleTerrainData

 
TTerrainImage = TCastleTerrainImage deprecated 'use TCastleTerrainImage';

Warning: this symbol is deprecated: use TCastleTerrainImage

 
TTerrainNoise = TCastleTerrainNoise deprecated 'use TCastleTerrainNoise';

Warning: this symbol is deprecated: use TCastleTerrainNoise

 
TCastleTerrainCombineOperation = (...);

Operation used by TCastleTerrainCombine to combine heights from 2 terrain data sources. See TCastleTerrainCombine.Operation.

Values
  • opMax
  • opMin
  • opAdd
  • opMultiply

Generated by PasDoc 0.16.0.