IMeshPainter::Paint

'Normal' painting functionality, called when the user tries to paint on a mesh using the mouse

Choose your operating system:

Windows

macOS

Linux

References

Module

MeshPaint

Header

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

Include

#include "IMeshPainter.h"

Source

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

Syntax

virtual bool Paint
(
    FViewport * Viewport,
    const FVector & InCameraOrigin,
    const TArrayView< TPair< FVector, FVector >> & Rays
)

Remarks

'Normal' painting functionality, called when the user tries to paint on a mesh using the mouse