MeshPaintHelpers::ApplyPerTrianglePaintAction

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

Choose your operating system:

Windows

macOS

Linux

References

Module

MeshPaint

Header

/Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h

Include

#include "MeshPaintHelpers.h"

Source

/Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp

Syntax

static bool ApplyPerTrianglePaintAction
(
    IMeshPaintGeometryAdapter * Adapter,
    const FVector & CameraPosition,
    const FVector & HitPosition,
    const UPaintBrushSettings * Settings,
    FPerTrianglePaintAction Action
)

Remarks

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