Cell Based Terrain Query Engine
19 nodes
On this page 19
Color Palette With Slope
FunctionA color scheme making use of slopes.
ColorPaletteWithSlope() -> Text
string ColorPaletteWithSlope()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Custom Color Example
FunctionThis node carries no documentation.
CustomColorExample() -> Text
string CustomColorExample()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Custom Color Example2
FunctionThis node carries no documentation.
CustomColorExample2() -> Text
string CustomColorExample2()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Default Color Palette
FunctionA default color scheme.
DefaultColorPalette() -> Text
string DefaultColorPalette()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Default Color Palette Expanded
FunctionA default color scheme in full details.
DefaultColorPaletteExpanded() -> Text
string DefaultColorPaletteExpanded()
Returns
| result | Text |
Remarks
This is slower than CellBasedTerrainQueryEngine.DefaultColorPalette which uses custom built-in functions.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Make Cell Based Terrain Query Engine
FunctionThis node carries no documentation.
CellBasedTerrainQueryEngine -> Cell Based Terrain Query Engine
source: Cell Based Terrain
options: Cell Based Terrain Query Engine OptionsCellBasedTerrainQueryEngine CellBasedTerrainQueryEngine(
CellBasedTerrain source,
CellBasedTerrainQueryEngineOptions options)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Cell Based Terrain | — | |
| options | Cell Based Terrain Query Engine Options | — |
Returns
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Colorize
FunctionOverload 1 of 2
Colorize -> Pixel Image
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
select: TextPixelImage Colorize(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string select = "terrain_color(\n height,\n min(height) OVER (),\n max(height) OVER ()\n) AS color")Evaluates a SELECT-like fragment that must return one text column named color.
The color text must be a parenthesized RGB/RGBA integer tuple: "(R, G, B)" or "(R, G, B, A)".
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| select | Text | terrain_color( height, min(height) OV... |
Returns
| result | Pixel Image |
Overload 2 of 2
Colorize -> Pixel Image
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
selectR: Text
selectG: Text
selectB: Text
selectA: TextPixelImage Colorize(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string selectR,
string selectG,
string selectB,
string selectA)Evaluates RGB/RGBA SQL expressions for every cell and returns a PixelImage.
Channel expressions are raw SQL expressions. Aliases are generated internally.
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| selectR | Text | — | |
| selectG | Text | — | |
| selectB | Text | — | |
| selectA | Text | — |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Dispose
FunctionThis node carries no documentation.
Dispose(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine)
void Dispose(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Extract
FunctionExtracts selected expressions where the condition is true.
All unselected cells receive the extract default value.
Core ID/X/Y are preserved.
Extract -> Cell Based Terrain
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
where: Text
select: TextCellBasedTerrain Extract(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string where,
string select)Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| where | Text | — | |
| select | Text | — |
Returns
| result | Cell Based Terrain |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Cell Count
FunctionThis node carries no documentation.
CellCount(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> Integer
int CellCount(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Columns
FunctionThis node carries no documentation.
Columns(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> Integer
int Columns(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Physical Scale
FunctionThis node carries no documentation.
PhysicalScale(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> Number
double PhysicalScale(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Query Attribute Names
FunctionThis node carries no documentation.
QueryAttributeNames(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> IReadOnlyCollection<Text>
IReadOnlyCollection<string> QueryAttributeNames(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | IReadOnlyCollection<Text> |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Rows
FunctionThis node carries no documentation.
Rows(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> Integer
int Rows(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Get Data
FunctionReturns the terrain snapshot represented by this engine.
GetData(Cell Based Terrain Query Engine: Cell Based Terrain Query Engine) -> Cell Based Terrain
CellBasedTerrain GetData(CellBasedTerrainQueryEngine Cell Based Terrain Query Engine)
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — |
Returns
| result | Cell Based Terrain |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Mask
FunctionEvaluates a WHERE-like fragment and returns a sharp 0/1 height mask.
Mask -> Scalar Field
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
where: TextScalarField2D Mask(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string where)Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| where | Text | — |
Returns
| result | Scalar Field |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Modify
FunctionOverload 1 of 2
Modify -> Cell Based Terrain
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
targetAttributeName: Text
expression: TextCellBasedTerrain Modify(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string targetAttributeName,
string expression)Replaces one attribute with an expression evaluated for every cell.
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| targetAttributeName | Text | — | |
| expression | Text | — |
Returns
| result | Cell Based Terrain |
Overload 2 of 2
Modify -> Cell Based Terrain
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
targetAttributeName: Text
expression: Text
where: TextCellBasedTerrain Modify(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string targetAttributeName,
string expression,
string where)Replaces one attribute with an expression only where the condition is true.
Other cells keep the original value.
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| targetAttributeName | Text | — | |
| expression | Text | — | |
| where | Text | — |
Returns
| result | Cell Based Terrain |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Modify Then
FunctionOverload 1 of 2
ModifyThen -> Cell Based Terrain Query Engine
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
targetAttributeName: Text
expression: TextCellBasedTerrainQueryEngine ModifyThen(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string targetAttributeName,
string expression)Fluent modification. Returns a new engine whose source is the modified result.
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| targetAttributeName | Text | — | |
| expression | Text | — |
Returns
| result | Cell Based Terrain Query Engine |
Overload 2 of 2
ModifyThen -> Cell Based Terrain Query Engine
Cell Based Terrain Query Engine: Cell Based Terrain Query Engine
targetAttributeName: Text
expression: Text
where: TextCellBasedTerrainQueryEngine ModifyThen(
CellBasedTerrainQueryEngine Cell Based Terrain Query Engine,
string targetAttributeName,
string expression,
string where)Fluent conditional modification. Returns a new engine whose source is the modified result.
Parameters
| name | type | default | description |
|---|---|---|---|
| Cell Based Terrain Query Engine | Cell Based Terrain Query Engine | — | |
| targetAttributeName | Text | — | |
| expression | Text | — | |
| where | Text | — |
Returns
| result | Cell Based Terrain Query Engine |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation
Parse Select Items
FunctionThis node carries no documentation.
ParseSelectItems(select: Text) -> Cell Terrain Select Item Array
CellTerrainSelectItem[] ParseSelectItems(string select)
Parameters
| name | type | default | description |
|---|---|---|---|
| select | Text | — |
Returns
| result | Cell Terrain Select Item Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Cell Based Terrain Query Engine
- Package
- Procedural Generation