18 Creating and Managing Trackers
Q3Tracker_New
function to create a new tracker.
TQ3TrackerObject Q3Tracker_New (TQ3TrackerNotifyFunc notifyFunc);
notifyFunc
A pointer to a tracker notify function. See page 18-52 for information on writing a tracker notify function.
Q3Tracker_New
function returns, as its function result, a reference to a new tracker object. The notifyFunc
parameter specifies the tracker's notify function, which is called whenever the position or orientation of the tracker changes. If you want to poll for such changes instead of being notified, set notifyFunc
to NULL
. The new tracker is active and has both its position threshold and its orientation threshold set to 0. If Q3Tracker_New
cannot create a new tracker, it returns NULL
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker