Castle Game Engine: CastleTerrain: Class TTerrainCasScript

# Class TTerrainCasScript
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleTerrain ## Declaration `type TTerrainCasScript = class(TTerrainImage)` ## Description Terrain (height for each X, Y) data calculated from CastleScript expression. At construction, pass FunctionExpression, that is CastleScript language expression calculating height based on X, Y. This descends from TTerrainImage, so you add an image to your function result. ## Hierarchy TObject TTerrain TTerrainImage TTerrainCasScript ## Overview ### Methods
| `constructor Create(const FunctionExpression: string);`
| `destructor Destroy; override;`
| `function Height(const X, Y: Single): Single; override;`
## Description ### Methods
| `constructor Create(const FunctionExpression: string);`
| `destructor Destroy; override;`
| `function Height(const X, Y: Single): Single; override;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:12