GCell Key - Density Cache.
More...
GCell Key - Density Cache.
This class is used to create a GCell internal cache on density, mainly to be used by GCellDensitySet.
◆ Key()
Key |
( |
GCell * |
owner, |
|
|
unsigned int |
depth |
|
) |
| |
|
inline |
- Parameters
-
owner | The GCell owning the key. |
depth | The layer depth of the density to use. |
Key constructor, with an initial value for the cached density.
◆ getDensity()
float getDensity |
( |
| ) |
const |
|
inline |
Returns: The value of the cached density.
◆ getGCell()
GCell * getGCell |
( |
| ) |
const |
|
inline |
Returns: The owning GCell.
◆ update()
void update |
( |
unsigned int |
depth | ) |
|
|
inline |
The documentation for this class was generated from the following files: