Return to the tutorials list.
10 - Model selection (picking)
Bonzai Engine support picking. This is used here by implementing a Picker object and by registring it to the SceneView.
* pickEvent: returns true when the event should trigger the picking to be resolved
* renderObjects: render pickable objects
* pickMissed: called when no object has been picked
* processPicked: called with the object picked
PreviewSource Code