Model.FindClosestTriangle (SelectedItem, Point, Point3D, Int32) Method
Public Function FindClosestTriangle( _
ByVal item As SelectedItem, _
ByVal mousePos As Point, _
ByRef hitPoint As Point3D, _
ByRef hitTriangleIndex As Integer _
) As Integer
This language is not supported or no code example is available.
Parameters
- item
- SelectedItem
The item
- mousePos
- Point
Mouse cursor position
- hitPoint
- Point3D
Closest triangle intersection point in the EntityList.Parents coordinate system.
- hitTriangleIndex
- int
Closest triangle index
Return Value
intThe numbers of triangles found under the mouse cursor.