Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TSparseGrid3 > API/Runtime/GeometryCore/Spatial/TSparseGrid3/Get
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/SparseGrid3.h |
| Include | #include "Spatial/SparseGrid3.h" |
ElemType &42; Get
&40;
const FVector3i & Index,
bool bAllocateIfMissing
&41;
Remarks
Get the grid element at this index, and optionally allocate it if it doesn't exist pointer to ElemType instance, or nullptr if element doesn't exist
Parameters
| Name | Description |
|---|---|
| Index | integer grid index |
| bAllocateIfMissing | if the element at this index is null, allocate a new one |