'Declaration Public Function GetEntityUnderMouseCursor( _ ByVal mousePos As Point, _ Optional ByVal selectableOnly As Boolean _ ) As Integer
public int GetEntityUnderMouseCursor( Point mousePos, bool selectableOnly )
Parameters
- mousePos
- Mouse position in screen coordinates
- selectableOnly
- When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
Return Value
The index of the entity, -1 otherwise.