Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset > API/Plugins/MeshPaintingToolset/FBaseMeshPaintComponentAdapter
- IMeshPaintComponentAdapter::SphereIntersectTriangles()
- FBaseMeshPaintComponentAdapter::SphereIntersectTriangles()
References
| Module | MeshPaintingToolset |
| Header | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/BaseMeshPaintComponentAdapter.h |
| Include | #include "BaseMeshPaintComponentAdapter.h" |
| Source | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/BaseMeshPaintComponentAdapter.cpp |
virtual 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