Panda3D
|
Stores the kinds of data that a tracker might output. More...
#include <pandadoc.hpp>
Public Attributes | |
double | dt |
Returns the amount of elapsed time over which the information (pos and orient) were computed. More... | |
const LOrientation | orient |
Returns the current orientation of the tracker. More... | |
const LPoint3 | pos |
Returns the current position of the tracker. More... | |
double | time |
Returns the time at which the position information (pos and orient) are effective. More... | |
Stores the kinds of data that a tracker might output.
double dt |
Returns the amount of elapsed time over which the information (pos and orient) were computed.
It is an error to call this if has_dt() does not return true. See set_dt().
const LOrientation orient |
Returns the current orientation of the tracker.
It is legal to call this if has_orient() returns false; in this case, the result is always the identity orientation.
const LPoint3 pos |
Returns the current position of the tracker.
It is legal to call this if has_pos() returns false; in this case, the position will always be (0, 0, 0).
double time |
Returns the time at which the position information (pos and orient) are effective.
It is an error to call this if has_time() does not return true. See set_time().