Header menu logo Mibo.Raylib

CellGrid2D Module

Functions and values

Function or value Description

create width height cellSize origin

Full Usage: create width height cellSize origin

Parameters:
Returns: CellGrid2D<'T>
width : int
height : int
cellSize : Vector2
origin : Vector2
Returns: CellGrid2D<'T>

get x y grid

Full Usage: get x y grid

Parameters:
Returns: 'T voption
Modifiers: inline
Type parameters: 'T
x : int
y : int
grid : CellGrid2D<'T>
Returns: 'T voption

getWorldPos x y grid

Full Usage: getWorldPos x y grid

Parameters:
Returns: Vector2
Modifiers: inline
Type parameters: ^a, ^b, 'T
x : ^a
y : ^b
grid : CellGrid2D<'T>
Returns: Vector2

iter action grid

Full Usage: iter action grid

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

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

iterVisible left top right bottom action grid

Full Usage: iterVisible left top right bottom action grid

Parameters:
    left : int
    top : int
    right : int
    bottom : int
    action : int -> int -> 'T -> unit
    grid : CellGrid2D<'T>

Modifiers: inline
Type parameters: 'T
left : int
top : int
right : int
bottom : int
action : int -> int -> 'T -> unit
grid : CellGrid2D<'T>

set x y content grid

Full Usage: set x y content grid

Parameters:
    x : int
    y : int
    content : 'T
    grid : CellGrid2D<'T>

Modifiers: inline
Type parameters: 'T
x : int
y : int
content : 'T
grid : CellGrid2D<'T>

Type something to start searching.