Class TTerrainCasScript

Unit

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

Overview

Methods

Public constructor Create(const FunctionExpression: string);
Public destructor Destroy; override;
Public function Height(const X, Y: Single): Single; override;

Description

Methods

Public constructor Create(const FunctionExpression: string);
 
Public destructor Destroy; override;
 
Public function Height(const X, Y: Single): Single; override;
 

Generated by PasDoc 0.16.0.