Is it possible to select objects by mouse on 3D scene?

691
2
Jump to solution
07-04-2017 06:31 AM
AlexeyGolovizin
New Contributor II

I have a 3D scene with a few marker objects on it (like in Scenes/Symbols example).

Can I somehow select the markers by mouse?

Is it possible to somehow move them by mouse?

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

Yes, you select features in the same way as you would in 2D, because the MapView and SceneView share the same base class - GeoView - GeoView QML Type | ArcGIS for Developers 

If you are trying to select graphics, use identifyGraphics() method on the mouseClicked signal to get back a list of graphics. You can then select those Graphics. If you are trying to select a feature from a layer, you would instead call identifyLayer() method.

View solution in original post

2 Replies
LucasDanzinger
Esri Frequent Contributor

Yes, you select features in the same way as you would in 2D, because the MapView and SceneView share the same base class - GeoView - GeoView QML Type | ArcGIS for Developers 

If you are trying to select graphics, use identifyGraphics() method on the mouseClicked signal to get back a list of graphics. You can then select those Graphics. If you are trying to select a feature from a layer, you would instead call identifyLayer() method.

AlexeyGolovizin
New Contributor II

Thanks, i'll try it out.

^_^

0 Kudos