'Declaration Public Overloads Function FindClosestTriangle( _ ByVal item As ViewportLayout.SelectedItem, _ ByVal mousePos As Point, _ ByRef hitPoint As Point3D, _ ByRef hitTriangleIndex As Integer _ ) As Integer
public int FindClosestTriangle( ViewportLayout.SelectedItem item, Point mousePos, out Point3D hitPoint, out int hitTriangleIndex )
Parameters
- item
- The item
- mousePos
- Mouse cursor position
- hitPoint
- Closest triangle intersection point in the EntityList.Parents coordinate system.
- hitTriangleIndex
- Closest triangle index
Return Value
The numbers of triangles found under the mouse cursor.