Skip to main content
RustDocs

Treemanager.Cellsize

treemanager.cellsize

Attributes

Help
Define cell size(in m) of a grid for trees - only has effect on world load and must be > 1. This affects how much data we send per tree cell(bigger the cell - more trees we have to send). The smaller the cell, the more cells we have to process and the more memory we need per player to track what's left to send(gridSize ^ 2 / 8 bytes). We readjust CellSize to ensure gridSize never exceeds 512.
Type
int
Saved
No
ServerAdmin
Yes
ServerUser
No
Clientside
No
Serverside
Yes
DefaultValue
100
Raw JSON
{
  "Help": "Define cell size(in m) of a grid for trees  - only has effect on world load and must be > 1. This affects how much data we send per tree cell(bigger the cell - more trees we have to send). The smaller the cell, the more cells we have to process and the more memory we need per player to track what's left to send(gridSize ^ 2 / 8 bytes). We readjust CellSize to ensure gridSize never exceeds 512.",
  "Type": "int",
  "Saved": false,
  "ServerAdmin": true,
  "ServerUser": false,
  "Clientside": false,
  "Serverside": true,
  "DefaultValue": 100
}