Header menu logo Mibo

HexGrid3D Module

Functions and values

Function or value Description

clear col row layer grid

Full Usage: clear col row layer grid

Parameters:
    col : int
    row : int
    layer : int
    grid : HexGrid3D<'T>

Modifiers: inline
Type parameters: 'T
col : int
row : int
layer : int
grid : HexGrid3D<'T>

create width height depth hexSize layerHeight origin orientation

Full Usage: create width height depth hexSize layerHeight origin orientation

Parameters:
    width : int
    height : int
    depth : int
    hexSize : float32
    layerHeight : float32
    origin : Vector3
    orientation : HexOrientation

Returns: HexGrid3D<'T>
width : int
height : int
depth : int
hexSize : float32
layerHeight : float32
origin : Vector3
orientation : HexOrientation
Returns: HexGrid3D<'T>

get col row layer grid

Full Usage: get col row layer grid

Parameters:
    col : int
    row : int
    layer : int
    grid : HexGrid3D<'T>

Returns: 'T voption
Modifiers: inline
Type parameters: 'T
col : int
row : int
layer : int
grid : HexGrid3D<'T>
Returns: 'T voption

getWorldPos col row layer grid

Full Usage: getWorldPos col row layer grid

Parameters:
    col : int
    row : int
    layer : ^a
    grid : HexGrid3D<'T>

Returns: Vector3
Modifiers: inline
Type parameters: ^a, 'T
col : int
row : int
layer : ^a
grid : HexGrid3D<'T>
Returns: Vector3

iter action grid

Full Usage: iter action grid

Parameters:
    action : int -> int -> int -> 'T -> unit
    grid : HexGrid3D<'T>

Modifiers: inline
Type parameters: 'T
action : int -> int -> int -> 'T -> unit
grid : HexGrid3D<'T>

iterVolume bounds action grid

Full Usage: iterVolume bounds action grid

Parameters:
Modifiers: inline
Type parameters: 'T
bounds : BoundingBox
action : int -> int -> int -> 'T -> unit
grid : HexGrid3D<'T>

set col row layer content grid

Full Usage: set col row layer content grid

Parameters:
    col : int
    row : int
    layer : int
    content : 'T
    grid : HexGrid3D<'T>

Modifiers: inline
Type parameters: 'T
col : int
row : int
layer : int
content : 'T
grid : HexGrid3D<'T>

Type something to start searching.