Search
Preparing search index...
The search index is not available
hexenginets
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"components/hexgrid/grid"
Grid
Class Grid
Hierarchy
Grid
Index
Constructors
constructor
Properties
TWO_
THIRDS
_cel
_cell
Length
_cell
Width
_conversion
Vec
_diagonals
_directions
_geo
Cache
_hash
Delimeter
_list
_mat
Cache
_vec3
cell
Geo
cell
Shape
cell
Shape
Geo
cell
Size
cells
extrude
Settings
num
Cells
Methods
_create
Vertex
_cube
Round
add
cell
ToHash
cell
ToPixel
clear
Path
dispose
distance
generate
generate
Overlay
generate
Tile
generate
Tiles
get
Cell
At
get
Neighbors
pixel
ToCell
remove
traverse
Constructors
constructor
new
Grid
(
config
:
any
)
:
Grid
Parameters
config:
any
Returns
Grid
Properties
TWO_
THIRDS
TWO_
THIRDS
:
number
_cel
_cel
:
Cell
_cell
Length
_cell
Length
:
number
_cell
Width
_cell
Width
:
number
_conversion
Vec
_conversion
Vec
:
Vector3
_diagonals
_diagonals
:
Array
<
Cell
>
_directions
_directions
:
Array
<
Cell
>
_geo
Cache
_geo
Cache
:
Array
<
ExtrudeGeometry
>
_hash
Delimeter
_hash
Delimeter
:
string
_list
_list
:
Array
<
any
>
_mat
Cache
_mat
Cache
:
Array
<
any
>
_vec3
_vec3
:
Vector3
cell
Geo
cell
Geo
:
Geometry
cell
Shape
cell
Shape
:
Shape
cell
Shape
Geo
cell
Shape
Geo
:
ShapeGeometry
cell
Size
cell
Size
:
number
cells
cells
:
Array
<
Cell
>
extrude
Settings
extrude
Settings
:
ExtrudeSettings
num
Cells
num
Cells
:
number
Methods
_create
Vertex
_create
Vertex
(
i
:
any
)
:
Vector3
Parameters
i:
any
Returns
Vector3
_cube
Round
_cube
Round
(
h
:
Cell
)
:
Cell
Parameters
h:
Cell
Returns
Cell
add
add
(
cell
:
Cell
)
:
Cell
Parameters
cell:
Cell
Returns
Cell
cell
ToHash
cell
ToHash
(
cell
:
Cell
)
:
string
Parameters
cell:
Cell
Returns
string
cell
ToPixel
cell
ToPixel
(
cell
:
Cell
)
:
Vector3
Parameters
cell:
Cell
Returns
Vector3
clear
Path
clear
Path
(
)
:
void
Returns
void
dispose
dispose
(
)
:
void
Returns
void
distance
distance
(
cellA
:
Cell
, cellB
:
Cell
)
:
number
Parameters
cellA:
Cell
cellB:
Cell
Returns
number
generate
generate
(
)
:
void
Returns
void
generate
Overlay
generate
Overlay
(
size
:
any
, overlayObj
:
any
, overlayMat
:
any
)
:
void
Parameters
size:
any
overlayObj:
any
overlayMat:
any
Returns
void
generate
Tile
generate
Tile
(
cell
:
any
, scale
:
any
, material
:
any
)
:
Tile
Parameters
cell:
any
scale:
any
material:
any
Returns
Tile
generate
Tiles
generate
Tiles
(
)
:
any
[]
Returns
any
[]
get
Cell
At
get
Cell
At
(
pos
:
Vector3
)
:
any
Parameters
pos:
Vector3
Returns
any
get
Neighbors
get
Neighbors
(
cell
:
Cell
, diagonal
:
any
, filter
:
any
)
:
any
[]
Parameters
cell:
Cell
diagonal:
any
filter:
any
Returns
any
[]
pixel
ToCell
pixel
ToCell
(
pos
:
Vector3
)
:
Cell
Parameters
pos:
Vector3
Returns
Cell
remove
remove
(
cell
:
Cell
)
:
void
Parameters
cell:
Cell
Returns
void
traverse
traverse
(
cb
:
Function
)
:
void
Parameters
cb:
Function
Returns
void
Globals
Internals
"components/components"
"components/entities/entity"
"components/hexgrid/board"
"components/hexgrid/cell"
"components/hexgrid/extrudesettings"
"components/hexgrid/grid"
"components/hexgrid/scene"
"components/hexgrid/tile"
"components/util"
"hexenginets.engine"
"index"
"spec/board.spec"
"spec/hexengine-
ts.spec"
Externals
"components/entities/skinnedentity"
Grid
constructor
TWO_
THIRDS
_cel
_cell
Length
_cell
Width
_conversion
Vec
_diagonals
_directions
_geo
Cache
_hash
Delimeter
_list
_mat
Cache
_vec3
cell
Geo
cell
Shape
cell
Shape
Geo
cell
Size
cells
extrude
Settings
num
Cells
_create
Vertex
_cube
Round
add
cell
ToHash
cell
ToPixel
clear
Path
dispose
distance
generate
generate
Overlay
generate
Tile
generate
Tiles
get
Cell
At
get
Neighbors
pixel
ToCell
remove
traverse
Generated using
TypeDoc