UEditableMesh::SetAllowSpatialDatabase

Sets whether this mesh should automatically generate and maintain an octree spatial database.

Windows
MacOS
Linux

References

Module

EditableMesh

Header

/Engine/Plugins/Runtime/EditableMesh/Source/EditableMesh/Public/EditableMesh.h

Include

#include "EditableMesh.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editable Mesh")
void SetAllowSpatialDatabase
(
    const bool bInAllowSpatialDatabase
)

Remarks

Sets whether this mesh should automatically generate and maintain an octree spatial database. Certain queries may only be supported when the mesh has an octree generated. The octree is never saved or loaded, and always generated on demand. This feature adds significant overhead to editable mesh initialization and modification, so only use it if you really need to.

Parameters

Parameter

Description

bInAllowSpatialDatabase

True if an octree should be generated and maintained for this mesh.

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