MeshPaintHelpers::ApplyPerTrianglePaintAction

Given the adapter, settings and view-information retrieves influences triangles and applies Action to them

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

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h
Include #include "MeshPaintHelpers.h"
Source /Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp
static bool ApplyPerTrianglePaintAction
(
    [IMeshPaintGeometryAdapter](API\Editor\MeshPaint\IMeshPaintGeometryAdapter) * Adapter,
    const FVector & CameraPosition,
    const FVector & HitPosition,
    const [UPaintBrushSettings](API\Editor\MeshPaint\UPaintBrushSettings) * Settings,
    FPerTrianglePaintAction Action
)

Remarks

Given the adapter, settings and view-information retrieves influences triangles and applies Action to them


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library