NestedModifier
Quick facts | |
---|---|
Class | NestedModifier |
CellType | * |
CellDir | * |
CellRotation | * |
Bound | Unchanged |
Properties | Unchanged |
Requirements | None |
This modifier replaces every cell in the grid with a subgrid of cells. The original set of cells are called "chunk cell", and the grids replaceing them are "child grids". The cells of the child grid are "child cell".
This modifier is abstract
- to use it, you must to inherit from it, and implement GetChildGrid
.
Using nested grid is quite tricky, consider using PlanarLazyMeshGrid
instead, which is a specialized case designed to be easier to work with.
➡
Cell co-ordinates
By default, each cell co-ordinate (x, y, z)
is split in two:
(y, z, 0)
gives the chunk cell(x, 0, 0)
gives the child cell
This behaviour can be controlled by overriding the Split/Combine methods.