Unreal Engine 4 Documentation > Unreal Engine API Reference > Runtime > Foliage > FFoliageMeshInfo > FFoliageMeshInfo::CheckForOverlappingSphere

FFoliageMeshInfo::CheckForOverlappingSphere

Syntax

FOLIAGE_API bool CheckForOverlappingSphere
(
    const FSphere & Sphere
)

Remarks

Returns whether or not there is are any instances overlapping the sphere specified.

References

Module

Foliage

Header

Runtime/Foliage/Public/InstancedFoliage.h

Source

Runtime/Foliage/Private/InstancedFoliage.cpp