Divooka Reference

World

9 nodes

On this page 9

Has World Layers

Function

Whether the world has world layers, generated in Fantasy Planet Painter: countries, settlements, rivers and the rest, which Render Map draws.

Signature
HasWorldLayers(World: World) -> Truth
bool HasWorldLayers(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Height

Function

How many cells tall the painting grid is, from latitude 90° to −90°.

Signature
Height(World: World) -> Integer
int Height(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Layer Count

Function

How many terrain layers the world has.

Signature
LayerCount(World: World) -> Integer
int LayerCount(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Name

Function

The planet's name.

Signature
Name(World: World) -> Text
string Name(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Radius Kilometres

Function

The planet's radius, in kilometres.

Signature
RadiusKilometres(World: World) -> Number
double RadiusKilometres(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Sea Level

Function

The height of the sea, in metres on the world's datum.

Signature
SeaLevel(World: World) -> Number
double SeaLevel(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Seed

Function

The seed the planet's procedural detail grows from.

Signature
Seed(World: World) -> Number
double Seed(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

Width

Function

How many cells wide the painting grid is, from longitude −180° to 180°.

Signature
Width(World: World) -> Integer
int Width(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
World
Package
Fantasy Planet Painter

To String

Function

This node carries no documentation.

Signature
ToString(World: World) -> Text
string ToString(World World)

Parameters

nametypedefaultdescription
WorldWorld—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
World
Package
Fantasy Planet Painter