Divooka Reference

Landscape

9 nodes

On this page 9

Description

Function

What went into it, a line for each step: its size, the erosion, the water.

Signature
Description(Landscape: Landscape) -> Text
string Description(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Population

Function

The trees, shrubs and rocks placed on it; null when it has none.

Signature
Population(Landscape: Landscape) -> Terrain Population
TerrainPopulation Population(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultTerrain Population
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Style

Function

The kind of landscape it was made as.

Signature
Style(Landscape: Landscape) -> Landscape Style
LandscapeStyle Style(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultLandscape Style
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Sun Altitude

Function

The sun's height above the horizon, degrees.

Signature
SunAltitude(Landscape: Landscape) -> Number
double SunAltitude(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Sun Bearing

Function

The sun's compass bearing, degrees clockwise from north.

Signature
SunBearing(Landscape: Landscape) -> Number
double SunBearing(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Surface

Function

The baked surface: colour, normal, roughness and height maps.

Signature
Surface(Landscape: Landscape) -> Baked Terrain Surface
BakedTerrainSurface Surface(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultBaked Terrain Surface
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Terrain

Function

Heights in metres, as the landscape is drawn: worn by erosion where that was asked for, with beds cut under the water.

Signature
Terrain(Landscape: Landscape) -> Scalar Field
ScalarField2D Terrain(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Water

Function

The water's surface in metres, NaN on dry ground; null when it has none.

Signature
Water(Landscape: Landscape) -> Scalar Field
ScalarField2D Water(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultScalar Field
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation

Water Look

Function

How the water looks.

Signature
WaterLook(Landscape: Landscape) -> Terrain Water Look
TerrainWaterLook WaterLook(Landscape Landscape)

Parameters

nametypedefaultdescription
LandscapeLandscape—

Returns

resultTerrain Water Look
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Landscape
Package
Procedural Generation