handle7 fields
SceneGrid
The scene's reference grid. Read/write its colors and spacing, or set scene.grid = nil to remove it.
- Obtained from
Scene.grid- Accepted by
Scene.grid
Fields 7
| Field | Type | Access | Description |
|---|---|---|---|
x_axis_color | Color | read/write | Color of the line along the world X axis. |
z_axis_color | Color | read/write | Color of the line along the world Z axis. |
minor_line_color | Color | read/write | Color of the minor grid lines. |
major_line_color | Color | read/write | Color of the major grid lines (every 10th line). |
fadeout_distance | number | read/write | Distance from the camera at which the grid fades out. |
dot_fadeout_strength | number | read/write | How quickly the grid fades with distance. |
scale | number | read/write | Spacing between grid lines; a smaller value spaces them farther apart. |