Map Point
4 nodes
On this page 4
Make Map Point
FunctionA pixel of a rendered view.
Signature
MapPoint(x: Number, y: Number, visible: Truth) -> Map Point
MapPoint MapPoint(double x, double y, bool visible)
Parameters
| name | type | default | description |
|---|---|---|---|
| x | Number | — | Pixels from the left edge. |
| y | Number | — | Pixels from the top edge. |
| visible | Truth | — | Whether the point falls on the planet in this view; a point on the far side of a globe does not. |
Returns
| result | Map Point |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Map Point
- Package
- Fantasy Planet Painter
Visible
FunctionWhether the point falls on the planet in this view; a point on the far side of a globe does not.
Signature
Visible(Map Point: Map Point) -> Truth
bool Visible(MapPoint Map Point)
Parameters
| name | type | default | description |
|---|---|---|---|
| Map Point | Map Point | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Map Point
- Package
- Fantasy Planet Painter
X
FunctionPixels from the left edge.
Signature
X(Map Point: Map Point) -> Number
double X(MapPoint Map Point)
Parameters
| name | type | default | description |
|---|---|---|---|
| Map Point | Map Point | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Map Point
- Package
- Fantasy Planet Painter
Y
FunctionPixels from the top edge.
Signature
Y(Map Point: Map Point) -> Number
double Y(MapPoint Map Point)
Parameters
| name | type | default | description |
|---|---|---|---|
| Map Point | Map Point | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Map Point
- Package
- Fantasy Planet Painter