|
|
@@ -50,6 +50,26 @@ get_orient() const {
|
|
|
return _data.get_orient();
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: TrackerNode::get_time
|
|
|
+// Access: Public
|
|
|
+// Description: Returns the time of the tracker's last update.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE double TrackerNode::
|
|
|
+get_time() const {
|
|
|
+ return _data.get_time();
|
|
|
+}
|
|
|
+
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: TrackerNode::has_time
|
|
|
+// Access: Public
|
|
|
+// Description: True if this data comes with timestamps.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE bool TrackerNode::
|
|
|
+has_time() const {
|
|
|
+ return _data.has_time();
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: TrackerNode::get_transform
|
|
|
// Access: Public
|