diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-05 10:25:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 10:25:04 +0100 |
commit | 3723d71de4990f403027f685a072cf6627ce307f (patch) | |
tree | e1e0675849b8e2582561b8e55467be43ca458881 | |
parent | d93f75fae5766c029af9eb28b7a5593d96f66750 (diff) | |
parent | 95fda7e881b4009cf7775f36bb9bf0901c2ef6b6 (diff) |
Merge pull request #45667 from Calinou/doc-gridmap-no-visual-layers
Document that GridMap doesn't support visual layers or cull masks
-rw-r--r-- | modules/gridmap/doc_classes/GridMap.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gridmap/doc_classes/GridMap.xml b/modules/gridmap/doc_classes/GridMap.xml index 4dccb03369..134aadb75e 100644 --- a/modules/gridmap/doc_classes/GridMap.xml +++ b/modules/gridmap/doc_classes/GridMap.xml @@ -8,6 +8,7 @@ GridMaps use a [MeshLibrary] which contains a list of tiles. Each tile is a mesh with materials plus optional collision and navigation shapes. A GridMap contains a collection of cells. Each grid cell refers to a tile in the [MeshLibrary]. All cells in the map have the same dimensions. Internally, a GridMap is split into a sparse collection of octants for efficient rendering and physics processing. Every octant has the same dimensions and can contain several cells. + [b]Note:[/b] GridMap doesn't extend [VisualInstance3D] and therefore can't be hidden or cull masked based on [member VisualInstance3D.layers]. If you make a light not affect the first layer, the whole GridMap won't be lit by the light in question. </description> <tutorials> <link title="Using gridmaps">https://docs.godotengine.org/en/latest/tutorials/3d/using_gridmaps.html</link> |