October 2017
Intermediate to advanced
548 pages
13h 23m
English
The default ImageTarget prefab that we added to our scene includes a Default Trackable Event Handler component. It implements the ITrackableEventHandler interface, specifically the OnTrackingFound, OnTrackingLost, and OnTrackingChanged events. We used these events and interface in earlier projects in this book.
For Smart Terrain and our app, we need a different implementation of this interface. Our implementation began with the Penguin example project provided by Vuforia for Smart Terrain. Like all good programmers, don't start coding from scratch when you don't need to! The implementation is slightly different from the DefaultTrackableEventHandler class in three ways:
Read now
Unlock full access