Class TCastleTerrainCombine
Unit
CastleTerrain
Declaration
type TCastleTerrainCombine = class(TCastleTerrainData)
Description
Combine (add, multiply, do maximum or minimum) two other terrain data sources. This allows to e.g. combine TCastleTerrainNoise with TCastleTerrainImage in a flexible way. For example you can use TCastleTerrainImage to force some mountains / valleys even where TCastleTerrainNoise doesn't have them.
Hierarchy
Overview
Nested Types
Fields
Methods
Properties
Description
Nested Types
|
TOperationFunc = function (const A, B: Single): Single; |
|
Fields
|
nested const DefaultOperation = opMax; |
|
Methods
|
constructor Create(AOwner: TComponent); override; |
|
|
function Height(const Coord, TexCoord: TVector2): Single; override; |
|
Properties
|
property Data1: TCastleTerrainData read FData1 write SetData1; |
First data for terrain heights.
|
|
property Data2: TCastleTerrainData read FData2 write SetData2; |
Second data for terrain heights.
|
Generated by PasDoc 0.16.0.