Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TBlockedGrid3 > API/Runtime/GeometryCore/Spatial/TBlockedGrid3/SetValueWithLock
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedDenseGrid3.h |
| Include | #include "Spatial/BlockedDenseGrid3.h" |
template<typename CriticalSectionProviderType>
void SetValueWithLock
(
const FVector3i & CellIJK,
ElemType NewValue,
CriticalSectionProviderType CriticalSectionProvider
)
Remarks
Set the grid value at CellIJK, with user supplied locking in the form of a function of the form FCriticalSection& CriticalSectionProvider(id)
that provides a critical section for each block id.