SSpListener_GetVelocity
You can use theSSpListener_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
TheSSpListener_GetVelocity
function returns, in theoutVelocity
parameter, the most recent untransformed velocity vector of the listener specified by theinListenerReference
parameter. The velocity is the velocity set by the most recent call toSSpListener_SetVelocity
.