FBaseMeshPaintGeometryAdapter::SphereIntersectTriangles

Returns the triangle indices which intersect with the given sphere

Unreal Engine C++ API Reference > Editor > MeshPaint > FBaseMeshPaintGeometryAdapter

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/BaseMeshPaintGeometryAdapter.h
Include #include "BaseMeshPaintGeometryAdapter.h"
Source /Engine/Source/Editor/MeshPaint/Private/BaseMeshPaintGeometryAdapter.cpp
virtual [TArray](API\Runtime\Core\Containers\TArray)< uint32 > SphereIntersectTriangles
(
    const float ComponentSpaceSquaredBrushRadius,
    const FVector & ComponentSpaceBrushPosition,
    const FVector & ComponentSpaceCameraPosition,
    const bool bOnlyFrontFacing
) const

Remarks

Returns the triangle indices which intersect with the given sphere


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library