SSpListener_GetVelocity
You can use the SSpListener_GetVelocity function to get the velocity of a listener.
OSStatus SSpListener_GetVelocity (
SSpListenerReference inListenerReference,
TQ3Vector3D *outVelocity);
inListenerReference
- A listener reference.
outVelocity
- On exit, the most recent untransformed velocity vector of the listener.
- function result
- A result code.
DESCRIPTION
The SSpListener_GetVelocity function returns, in the outVelocity parameter, the most recent untransformed velocity vector of the listener specified by the inListenerReference parameter. The velocity is the velocity set by the most recent call to SSpListener_SetVelocity.