/// <summary> /// Used to highlight any building that may be present at a screen coordinate for the current view point. /// A ray from the camera origin and passing through the screen point is constructed - the first building that the ray intersects, if any, will be highlighted. /// </summary> /// <param name="screenPoint">The LatLong location to query.</param> /// <returns>This BuildingHighlightOptions instance, with the query location set.</returns> public BuildingHighlightOptions HighlightBuildingAtScreenPoint(Vector2 screenPoint) { m_selectionScreenPoint = screenPoint; m_selectionMode = BuildingHighlightSelectionMode.SelectAtScreenPoint; return(this); }
/// <summary> /// Used to highlight any building that may be present at a LatLong location /// </summary> /// <param name="location">The LatLong location to query.</param> /// <returns>This BuildingHighlightOptions instance, with the query location set.</returns> public BuildingHighlightOptions HighlightBuildingAtLocation(LatLong location) { m_selectionLocation = location; m_selectionMode = BuildingHighlightSelectionMode.SelectAtLocation; return(this); }