HeightfieldGridShape
Heights from the entity’s two-dimensional grid field trait.field,
x as columns and y as rows along z, spread over size and centred on
the entity. Both ends rebuild it from the grid when its version changes.
A fixed body’s alone.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
field |
readonly |
string |
The grid field’s name in the trait. |
size |
readonly |
readonly [number, number] |
- |
trait |
readonly |
string |
The name the grid’s trait was defined under. |
type |
readonly |
HeightfieldGrid |
- |