Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/UMeshSculptToolBase
Description
Provides a hook for informing subclasses which triangle was last hit during a brush update. Subclass should implement this if it needs to know which triangle was hit
| Name | UpdateHitSculptMeshTriangle |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Sculpting/MeshSculptToolBase.h |
| Include Path | #include "Sculpting/MeshSculptToolBase.h" |
virtual void UpdateHitSculptMeshTriangle
(
int32 TriangleID,
const FRay3d & LocalRay
)
Parameters
| Name | Remarks |
|---|---|
| TriangleID | the triangle last hit during brush updates on the Sculpt Mesh |
| LocalRay | the ray in local space which caused the triangle to be hit |