Environment.FindClosestVertices (Point, Double, Type) Method
Parameters
- mousePos
- Point
Mouse position (zero on top)
- maxDistance
- double
Limit the search to points at this distance in pixels from mouse cursor position
- entType
- Type
The type of entities to process
Return Value
List<HitVertex>The list of vertices nearer than maxDistance and belonging to entities of type entType.
The returned points are in the coordinate space of the EntityList.CurrentBlockReference so, if there is a current BlockReference, to get the 3D world coordinates
of the points you need to transform them by the EntityList.CurrentTransformation.