Hi,
ArcGISRaycastHit in ArcGisMapComponentoutput.layer = View.Map?.FindLayerById(renderable.LayerId);gives null when hitting an BuildingSceneLayer.Greets
Hello, With this i call the featureID:
public RaycastHit hitData0; if (Input.GetKeyDown(KeyCode.JoystickButton0))//KeyCode.Mouse0(KeyCode.JoystickButton0 { if (Physics.Raycast(transform.position, transform.forward, out hitData0)) { var arcGISRaycastHit = arcGISMapComponent.GetArcGISRaycastHit(hitData0); var layer = arcGISRaycastHit.layer; featureId = arcGISRaycastHit.featureId;
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.