Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TBlockedGrid3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedDenseGrid3.h |
| Include | #include "Spatial/BlockedDenseGrid3.h" |
template<typename ProcessFunc>
void ProcessBlockDefaultValue
&40;
const FVector3i & BlockIJK,
ProcessFunc Func,
bool bPruneBlock
&41;
Remarks
Update the default value for the specified block using a functor
Parameters
| Name | Description |
|---|---|
| BlockIJK | the lattice address of the block in terms of block units ( e.g. the location in a grid of blocks). |
| Func | Func(ElemType& value){..} is called on the default value. |
| bPruneBlock | if true, any internal block allocation will be freed and the resulting deallocated block will just hold a single default value. if false, the allocation of the block will no change. |