TSparseGrid3::Get

Get the grid element at this index, and optionally allocate it if it doesn't exist

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/SparseGrid3.h

Include

#include "Spatial/SparseGrid3.h"

Syntax

ElemType * Get
(
    const FVector3i & Index,
    bool bAllocateIfMissing
)

Remarks

Get the grid element at this index, and optionally allocate it if it doesn't exist

Returns

pointer to ElemType instance, or nullptr if element doesn't exist

Parameters

Parameter

Description

Index

integer grid index

bAllocateIfMissing

if the element at this index is null, allocate a new one

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss