Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/UMeshSculptToolBase
Description
These routines handle the actual ray intersection queries againt the sculpt and target meshes. There are two versions for each - a const version and a non-const version. The versions have different names to avoid running afoul of deprecation rules. Subclasses may leave the non-const versions unimplemented, as the default implementation simply calls the const version. Subclasses should implement the const versions, to provide correct ray intersection logic for thier specific sculpt/target situation.
| Name | FindHitSculptMeshTriangle |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Sculpting/MeshSculptToolBase.h |
| Include Path | #include "Sculpting/MeshSculptToolBase.h" |
virtual int32 FindHitSculptMeshTriangle
(
const FRay3d & LocalRay
)
hit triangle at ray position - subclass may implement this