Header menu logo Mibo.Raylib

Terrain Module

Functions and values

Function or value Description

checkerSurface heightFn odd even section

Full Usage: checkerSurface heightFn odd even section

Parameters:
    heightFn : int -> int -> int
    odd : 'T
    even : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
heightFn : int -> int -> int
odd : 'T
even : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

generateSurface heightFn generator section

Full Usage: generateSurface heightFn generator section

Parameters:
    heightFn : int -> int -> int
    generator : int -> int -> int -> 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
heightFn : int -> int -> int
generator : int -> int -> int -> 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

ground width depth content section

Full Usage: ground width depth content section

Parameters:
    width : int
    depth : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
width : int
depth : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

heightmap heightFn content section

Full Usage: heightmap heightFn content section

Parameters:
    heightFn : int -> int -> int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
heightFn : int -> int -> int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

layeredHeightmap heightFn topLayer midLayer midDepth bottomLayer section

Full Usage: layeredHeightmap heightFn topLayer midLayer midDepth bottomLayer section

Parameters:
    heightFn : int -> int -> int
    topLayer : 'T
    midLayer : 'T
    midDepth : int
    bottomLayer : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
heightFn : int -> int -> int
topLayer : 'T
midLayer : 'T
midDepth : int
bottomLayer : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

path points width content section

Full Usage: path points width content section

Parameters:
    points : (int * int * int) list
    width : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
points : (int * int * int) list
width : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

pit width depth dropHeight section

Full Usage: pit width depth dropHeight section

Parameters:
    width : int
    depth : int
    dropHeight : int
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
width : int
depth : int
dropHeight : int
section : GridSection3D<'T>
Returns: GridSection3D<'T>

plateau width depth height top side section

Full Usage: plateau width depth height top side section

Parameters:
    width : int
    depth : int
    height : int
    top : 'T
    side : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
width : int
depth : int
height : int
top : 'T
side : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

rampX width depth rise content section

Full Usage: rampX width depth rise content section

Parameters:
    width : int
    depth : int
    rise : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
width : int
depth : int
rise : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

rampZ width depth rise content section

Full Usage: rampZ width depth rise content section

Parameters:
    width : int
    depth : int
    rise : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
width : int
depth : int
rise : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

scatter count seed content section

Full Usage: scatter count seed content section

Parameters:
    count : int
    seed : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
count : int
seed : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

scatterAt y count seed content section

Full Usage: scatterAt y count seed content section

Parameters:
    y : int
    count : int
    seed : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
y : int
count : int
seed : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

scatterPath points count seed content section

Full Usage: scatterPath points count seed content section

Parameters:
    points : (int * int * int) list
    count : int
    seed : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
points : (int * int * int) list
count : int
seed : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

scatterStampAt y count seed stamp section

Full Usage: scatterStampAt y count seed stamp section

Parameters:
Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
y : int
count : int
seed : int
stamp : GridSection3D<'T> -> GridSection3D<'T>
section : GridSection3D<'T>
Returns: GridSection3D<'T>

scatterSurface heightFn count seed content section

Full Usage: scatterSurface heightFn count seed content section

Parameters:
    heightFn : int -> int -> int
    count : int
    seed : int
    content : 'T
    section : GridSection3D<'T>

Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T
heightFn : int -> int -> int
count : int
seed : int
content : 'T
section : GridSection3D<'T>
Returns: GridSection3D<'T>

Type something to start searching.